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

Changing Cache-Busting to Disable does not save #758

Closed
Jessedev1 opened this issue Aug 28, 2024 · 3 comments
Closed

Changing Cache-Busting to Disable does not save #758

Jessedev1 opened this issue Aug 28, 2024 · 3 comments
Assignees

Comments

@Jessedev1
Copy link
Contributor

Hello,

I am trying to disable the Cache-Busting option, but when saving the field does not get updated.
Could someone please tell me how to fix this issue?

Plugin version: 3.4.1
Wordpress version: 6.3

Mode: Ephemeral
File URL Replacement: Enable Editor & Meta
Supported File Types: jpg jpeg png gif pdf mp4 mov
Cache-Control: public, max-age=36000, must-revalidate
Delete GCS File: Enable
Dynamic Image Support: Enable

@balexey88
Copy link
Contributor

Hello @Jessedev1 ,

Cache Busting is always on for Ephemeral mode. But you can override this behavior by setting WP_STATELESS_MEDIA_CACHE_BUSTING constant in wp-config.php

define('WP_STATELESS_MEDIA_CACHE_BUSTING', false);

Please let us know if this helps.

@balexey88 balexey88 self-assigned this Aug 28, 2024
@Jessedev1
Copy link
Contributor Author

@balexey88
Thats it, thank you for the help and fast response!

@Jessedev1
Copy link
Contributor Author

@balexey88
I've noticed the cache_busting field is only disabled for the stateless mode.

I have submitted a pull request (#759) to also disable the field and show the notice when selecting the ephemeral mode.
This will help other users with this question. Again, thanks for your help!

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

No branches or pull requests

2 participants