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

Dynamic pages being cached, could OOD send "no-cache" network headers? #2749

Open
Tracked by #3570
Micket opened this issue Apr 12, 2023 · 1 comment
Open
Tracked by #3570
Labels
bug Existing functionality not working as expected community request
Milestone

Comments

@Micket
Copy link
Contributor

Micket commented Apr 12, 2023

I had some cryptic issues from a users, which turns out to be caused by the batch connect forms containing cached information.
I'm using drop down list populated with some dynamically computed values (different jupyter notebook runtimes), and it had cached some outdated (now nonexistent) options for the user.

A simple F5 and the page is correct, but i think it would be best if these pages would hint to the browsers not to ever cache them, especially since things like auto-populated slurm sacctmgr information can change and such.

I'm a bit outside my expertise, but i found that OOD sends:
Cache-Control: max-age=0, private, must-revalidate
for these pages, and comparing with another site that has lost of dynamically generated material it sends
Cache-Control: max-age=0, no-cache, no-store, must-revalidate, private
so perhaps these form pages should be also be sending the no-cache, no-store network headers on pages with forms?

┆Issue is synchronized with this Asana task by Unito

@osc-bot osc-bot added this to the Backlog milestone Apr 12, 2023
@johrstrom johrstrom modified the milestones: Backlog, 3.0 Apr 12, 2023
@johrstrom
Copy link
Contributor

Hi, thanks for the ticket. Yea we can look into it.

@johrstrom johrstrom modified the milestones: 3.0, 3.1 Aug 31, 2023
@johrstrom johrstrom modified the milestones: 3.1, 4.0 Mar 1, 2024
@HazelGrant HazelGrant added the bug Existing functionality not working as expected label Mar 25, 2024
@johrstrom johrstrom mentioned this issue May 23, 2024
3 tasks
@johrstrom johrstrom modified the milestones: 4.0, 4.1 Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality not working as expected community request
Projects
None yet
Development

No branches or pull requests

4 participants