Skip to content
This repository
Browse code

scaling sprinkles: more aggressive caching settings

  • Loading branch information...
commit ed9925f7d3e56fd903c7245cfd5605868f82f711 1 parent 0447518
Mislav Marohnić authored

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. +7 7 config.yml
14 config.yml
@@ -8,14 +8,14 @@ default: &defaults
8 8 mongodb:
9 9 url: <%= ENV['MONGODB_URL'] %>
10 10 expires:
11   - api_cache: <%= 20 * 60 %>
12   - popular_page: <%= 15 * 60 %>
  11 + api_cache: <%= 30 * 60 %>
  12 + popular_page: <%= 30 * 60 %>
13 13 popular_feed: <%= 60 * 60 %>
14   - user_feed: <%= 60 * 60 %>
15   - user_json: <%= 60 * 60 %>
16   - user_page: <%= 30 * 60 %>
17   - search_page: <%= 10 * 60 %>
18   - tag_page: <%= 10 * 60 %>
  14 + user_feed: <%= 2 * 60 * 60 %>
  15 + user_json: <%= 2 * 60 * 60 %>
  16 + user_page: <%= 60 * 60 %>
  17 + search_page: <%= 20 * 60 %>
  18 + tag_page: <%= 20 * 60 %>
19 19
20 20 development:
21 21 <<: *defaults

0 comments on commit ed9925f

Please sign in to comment.
Something went wrong with that request. Please try again.