Commit Graph

7 Commits (79e7590578770c906d7a30e6ce7e0b654f725972)

Author SHA1 Message Date
Eugen Rochko e98c86050a
Refactor `Cache-Control` and `Vary` definitions ()
Eugen Rochko c669bb42ba
Add (back) rails-level JSON caching ()
Eugen Rochko 63c7fe8e48
Refactor controllers for statuses, accounts, and more ()
ThibG cac9110533 Cleanup various controllers ()
* Remove skip_session! as it is not supported in Rails 5

* Minor cleanup in StreamEntriesController

* Remove redundant mark_cacheable! calls
abcang 9e75aa30cd Unuse ActiveRecord::Base#cache_key ()
* Unuse ActiveRecord::Base#cache_key

* Enable cache_versioning

* Call cache_collection
Eugen Rochko c10f4bdb03
Cache JSON of immutable ActivityPub representations ()
Eugen Rochko 3a3475450e Encode custom emojis as resolveable objects in ActivityPub ()
* Encode custom emojis as resolveable objects in ActivityPub

* Improve code style