-
Notifications
You must be signed in to change notification settings - Fork 218
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
Clear dynamic lists on WP Rocket update #6920
Comments
So to add more details here, When we update WPR plugin, we have a github workflow to update dynamic lists json files (this is the fallback) inside the plugin to be shipped with the new version but I think the problem here is that we cache those exclusions for one week in a transient and it won't be refreshed until it expires. I only have a concern here, if we forced getting the dynamic lists after update What I can think of here is with update we can change the expiry for those transients to be a random number between 1 and 24 hours (just an example) OR with update we can force updating the lists from the json file directly not just a fallback. and I'm with the last one. |
Acceptance Criteria:
|
Groomingwith wp_rocket_upgrade we will have a callback here, let's call it and inside this new method, we will have the following code:
then we will add this new method exactly here
Then we will create a new method here
Effort[S] |
Is your feature request related to a problem? Please describe.
When having changes on files naming related to WP Rocket that require exclusions, the customer might wait up to one week to get the new exclusions updated.
Describe the solution you'd like
To simplify the process without requiring conditional dynamic lists update, we can simply update them on WP Rocket update.
Describe alternatives you've considered
N/A
Additional context
Discussion - https://wp-media.slack.com/archives/C027UU7L8RL/p1724679004320979
The text was updated successfully, but these errors were encountered: