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

Cache needs to purge_all with other conditions #9

Open
emgorman opened this issue Jan 4, 2017 · 2 comments
Open

Cache needs to purge_all with other conditions #9

emgorman opened this issue Jan 4, 2017 · 2 comments
Labels

Comments

@emgorman
Copy link

emgorman commented Jan 4, 2017

I found that our website was using endurance-page-cache as per a Bluehost install. But pages were created on 12/17 making the content on these pages very outdated. The content that changes are event listings and gravity forms.

We make two changes to our website regularly that need to trigger a purge:

  1. We edit a Gravity Form and change a field then save the form.
  2. We add events using Tribe Events Plugin.

Is there a way to purge all pages/data anytime one of these actions are complete?

We do not update posts, pages, etc. And the editors do not have access to plugins to click the PURGE ALL button on your plugin.

Thank you!

@lukecav
Copy link

lukecav commented Jan 18, 2017

@emgorman

If you resave the page where the Gravity Form is used on, then the cache for that page will be purged, otherwise there is no trigger other than form being updated in wp-admin.

Where on the site are the events being featured?

@emgorman
Copy link
Author

Thank you - Is there code I can add to auto purge all files/pages after a certain amount of time, such as every 24 hours? That would solve all of my issues.

Or is there a way to exclude urls from being cached?

Also, the events page is here: https://goo.gl/EIy0fl
This url is not really a page I can edit in wp-admin, it is auto generated by the Tribe Events plugin. There is no way to
Events get added as individual pages, and this calendar page just pulls in the data automatically.

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

No branches or pull requests

3 participants