docbrown/app/labor
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
..
loggers Track Queue sizes and latency for Sidekiq (#5352) [deploy] 2020-01-07 11:57:13 -05:00
article_suggester.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
assign_tag_moderator.rb Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
badge_rewarder.rb Improved BadgeRewarder (#5525) 2020-01-17 09:18:19 -05:00
bufferizer.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
cache_buster.rb Use correct cache keys on the articles API index endpoint (#5606) [deploy] 2020-01-23 08:40:19 -05:00
color_from_image.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
coupon_generator.rb Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
email_digest.rb check for optin once more before sending ddigest (#2840) 2019-05-15 12:36:46 -04:00
email_logic.rb ActiveRecord count optimizations (#5478) [deploy] 2020-01-14 12:03:38 -05:00
emoji_converter.rb Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
error_message_cleaner.rb Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
flare_tag.rb Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
follow_checker.rb Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
function_caller.rb Add another check to the function caller to avoid exceptions (#5296) 2019-12-30 13:56:04 -05:00
generated_image.rb Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
hex_comparer.rb Routine rubocop fixes after gem update (#4309) 2019-10-10 17:27:01 -04:00
html_cleaner.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
language_detector.rb Fix human language detection (#2338) 2019-04-08 15:47:29 -04:00
mailchimp_bot.rb Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
markdown_fixer.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
markdown_parser.rb Dont Raise Error For Incorrect Liquid Tags (#5089) [deploy] 2019-12-18 11:23:39 -06:00
notification_counter.rb Organization Notifications (#1762) 2019-02-25 14:25:37 -08:00
profile_image.rb Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
random_gif.rb add gifs to milestone notifications (#4562) 2019-10-23 16:58:05 -04:00
rate_limit_checker.rb Refactor RateLimitChecker (#5521) 2020-01-20 11:27:54 -05:00
reaction_image.rb Fix rubocop lints (#794) 2018-10-03 13:00:09 -04:00
reading_list.rb Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
sticky_article_collection.rb Use published scope for articles (#2374) 2019-04-11 13:18:26 -04:00
timeframer.rb Refactor Timeframer#datetime (#3117) [ci skip] 2019-06-11 10:29:10 -04:00
twilio_token.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
twitter_bot.rb Migrate to Travis CI (part 2) (#591) 2018-07-20 20:17:18 -04:00
unread_notifications_emailer.rb Replace Airbrake with Honeybadger (#5007) [deploy] 2019-12-05 11:29:51 -06:00
user_similarity.rb Remove code for legacy mentoring feature (#3186) 2019-06-21 17:18:11 -04:00