docbrown/app
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
..
assets Use honeybadger.js from npm (#5643) 2020-01-22 08:22:51 -05:00
black_box Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
controllers Use correct cache keys on the articles API index endpoint (#5606) [deploy] 2020-01-23 08:40:19 -05:00
dashboards Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
decorators [deploy] Raise not_found for spam-banished users (#5586) 2020-01-20 14:50:22 -05:00
errors Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers Add guard clause for presence of processed_html (#5638) [deploy] 2020-01-22 15:32:50 -05:00
javascript Move Chart.js to dynamic import (#5576) [deploy] 2020-01-18 20:46:35 -05:00
jobs Remove IndexJob and spec (#5654) 2020-01-22 15:18:29 -05:00
labor Use correct cache keys on the articles API index endpoint (#5606) [deploy] 2020-01-23 08:40:19 -05:00
lib Adds 4estate.media to Mastodon instance whitelist (#5625) 2020-01-21 08:59:52 -05:00
liquid_tags Fix error handling bugs in stackexchange tag (#5490) 2020-01-20 14:43:25 -05:00
mailers Restore default email from SiteConfig for mailers (#5399) [deploy] 2020-01-08 16:09:32 -05:00
models Replace Notifications::NotifiableActionJob with Notifications::NotifiableActionWorker for Sidekiq (#5588) [deploy] 2020-01-22 09:40:55 -05:00
observers Move SlackBotPingJob to Sidekiq (#5615) 2020-01-22 08:24:33 -05:00
policies Handle missing commentable for user_is_commentable_author? check (#5336) [deploy] 2020-01-02 18:06:05 -05:00
sanitizers Add support for mark element in markdown (#2089) 2019-03-18 17:10:58 -04:00
serializers/webhook Use a sortable unique ID for the event_id (#3972) 2019-09-09 10:15:12 -04:00
services Move SlackBotPingJob to Sidekiq (#5615) 2020-01-22 08:24:33 -05:00
uploaders Limit ALL Upload file sizes to 25 MB (#5356) [deploy] 2020-01-07 11:20:40 -05:00
view_objects Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
views Add rate limits to admin interface (#5642) 2020-01-22 15:29:27 -05:00
workers Replace Notifications::NotifiableActionJob with Notifications::NotifiableActionWorker for Sidekiq (#5588) [deploy] 2020-01-22 09:40:55 -05:00