Skip to content

Commit

Permalink
disable no store
Browse files Browse the repository at this point in the history
  • Loading branch information
jefftmarks committed Mar 5, 2025
1 parent 5bac218 commit dfc7b95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/controllers/v1/lcpe_base_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ def lcpe_type
end

def set_etag(preload_version)
no_store_disabled = response.headers['Cache-Control'].remove('no-store, ')
response.set_header('Cache-Control', no_store_disabled)

response.set_header('ETag', preload_version)
end

Expand Down

0 comments on commit dfc7b95

Please sign in to comment.