docbrown/app/controllers/api/v0
rhymes 87167de8c5 Use correct cache keys on the articles API index endpoint (#5606) [deploy]
Surrogate keys are about setting expectations on cache purging.

Presently we use a combination of all parameters to set changing surrogate keys depending on the result of the `ArticleApiIndexService`. This approach has two limitations:

- if two set of params lead to the same exact set of articles, we still create two different caches

- deleted articles will remain for 24 hours in the cache because the cache key doesn't take the record keys into account

By simply using record keys we make sure that different params leading to the same result set will share the same cache and that deleted keys won't appear anymore in the cache.
2020-01-23 08:40:19 -05:00
..
analytics_controller.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
api_controller.rb Limit access to the API actions when authorized by doorkeeper token (#4170) 2019-10-02 13:17:47 -04:00
articles_controller.rb Use correct cache keys on the articles API index endpoint (#5606) [deploy] 2020-01-23 08:40:19 -05:00
chat_channels_controller.rb Use ApiController for ChatChannels and return not_found error if channel cant be accessed by user (#5194) [deploy] 2019-12-24 13:12:29 -05:00
classified_listings_controller.rb Limit access to the API actions when authorized by doorkeeper token (#4170) 2019-10-02 13:17:47 -04:00
comments_controller.rb Add article's record key to Fastly Surrogate-Key to separate caches (#5543) 2020-01-17 08:45:47 -05:00
followers_controller.rb Add pagination to followers and following page in dashboard (#258) (#4375) [deploy] 2019-11-20 18:21:18 -05:00
followings_controller.rb Add pagination to followers and following page in dashboard (#258) (#4375) [deploy] 2019-11-20 18:21:18 -05:00
follows_controller.rb Migrate Users/FollowJob to Sidekiq (#5403) 2020-01-08 15:03:18 -05:00
github_repos_controller.rb Handle unfound github repo in API (#5316) [deploy] 2019-12-31 14:42:45 -05:00
podcast_episodes_controller.rb Introduced published field to podcasts (#3593) 2019-08-01 09:29:13 -04:00
reactions_controller.rb Change CreateJob to CreateWorker and move to sidekiq (#5559) 2020-01-20 11:29:13 -05:00
tags_controller.rb Add suggested tags to SiteConfig (#5426) [deploy] 2020-01-10 12:33:37 -05:00
users_controller.rb Return an empty result set instead of 404 in case users are not available. (#5238) 2019-12-24 13:08:10 -05:00
videos_controller.rb Use published scope for articles (#2374) 2019-04-11 13:18:26 -04:00
webhooks_controller.rb Doorkeeper default scope (#4066) 2019-09-24 11:11:12 -07:00