Skip to content

Commit

Permalink
Merge pull request #1104 from PlanoramaEvents/remove-cache-headers
Browse files Browse the repository at this point in the history
Remove cache headers
  • Loading branch information
balen authored Jun 25, 2024
2 parents afe5c72 + 8cef5b8 commit 69accf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/controllers/schedule_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ class ScheduleController < ApplicationController
skip_before_action :check_up, :authenticate_person!, only: [:index, :participants]

# Put in a memory cache and cache header for the conclar data
before_action :setup_cache_header
# before_action :setup_cache_header

# Cache index and particpant request for 10 minutes and prevent dog pile by allowing 1 minute regen
caches_action :index, expires_in: 10.minute, race_condition_ttl: 1.minute
caches_action :participants, expires_in: 10.minute, race_condition_ttl: 1.minute
# caches_action :index, expires_in: 10.minute, race_condition_ttl: 1.minute
# caches_action :participants, expires_in: 10.minute, race_condition_ttl: 1.minute

# 1. If prod always use the published schedule
# 2. If staging or dev use published - if no published then use the live for testing
Expand Down

0 comments on commit 69accf5

Please sign in to comment.