Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change cache-control to private #446

Merged
merged 1 commit into from
Jun 15, 2023
Merged

Change cache-control to private #446

merged 1 commit into from
Jun 15, 2023

Conversation

t27duck
Copy link
Contributor

@t27duck t27duck commented Jun 15, 2023

As mentioned in sidekiq/sidekiq#5936 the public cache control could leak information when used with CloudFront or other CDNs. It was decided to change the cache setting in Sidekiq web's static assets to private.

This changes the gem's cache-control settings to match the recently released Sidekiq's.

As mentioned in sidekiq/sidekiq#5936 the public cache control could leak information when used with CloudFront or other CDNs. It was decided to change the cache setting in Sidekiq web's static assets to private.

This changes the gem's cache-control settings to match the recently released Sidekiq's.
@t27duck
Copy link
Contributor Author

t27duck commented Jun 15, 2023

@marcelolx - I'll probably merge this myself sometime Friday evening or Saturday (US East time) unless someone thinks this is a horrible idea.

@marcelolx
Copy link
Member

I am good with it if that solves the problem, I had in mind to try to remove this entirely because of what Mike mentioned here #432 (comment), so we wouldn't have to worry about it anymore

But if that isn't as simple as doing this, we can move forward with it and revisit it

@t27duck
Copy link
Contributor Author

t27duck commented Jun 15, 2023

Let's go with this for now (to stop the... "bleeding"? for those who would be affected) and revist doing what Mike mentioned later then. 👍

@t27duck t27duck merged commit cc9eb57 into master Jun 15, 2023
32 checks passed
@t27duck t27duck deleted the cache_control_private branch June 15, 2023 21:27
@marcelolx
Copy link
Member

Sounds good to me, created an issue for it so I don't forget about it 🙈 #447

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants