Skip to content

Conversation

@moseshll
Copy link
Collaborator

…y under Chrome, which wants to serve a cached version.

Add a cache-busting parameter to the form based on current time.

…y under Chrome, which wants to serve a cached version.

Add a cache-busting parameter to the form based on current time.
@moseshll moseshll requested a review from aelkiss October 22, 2025 18:18
Copy link
Member

@aelkiss aelkiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably fine insofar that it will do what you want (modulo the granularity of date.now -- is that seconds since 1970 or something else?)

There might be some other ways to mitigate to consider:

  • use POST instead of the default GET action
  • in the response set Cache-control: no-cache
  • probably others

@moseshll moseshll merged commit b0525b7 into main Oct 22, 2025
1 check passed
@moseshll moseshll deleted the queue_add_nocache branch October 22, 2025 18:34
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.

3 participants