Are you able to save your post from the “Edit Post” page? Cache Enabler gives you the option to clear the page cache or clear the complete cache when saving posts from the edit page.
Thanks for replying.
Yes the Edit Post page works, but I don’t want non-admin users using the WordPress backend – only a basic custom front end. When they make their changes on the front end, the old cached page is still displayed. They get confused, thinking their changes aren’t working. So I need to find a way to trigger a flush.
Do you know what the issue may be? Or give some specifics on how CacheEnabler detects/triggers a cache flush?
I’ve trialed many other cache plugins, but CacheEnabler is the best so I would like to keep using it if possible.
Many thanks.
Unfortunately, that is a bit out of the scope of our support as that deals with a custom setup.
If anyone is following this thread, I managed to get this to work.
After examining the code, I found there are ce_clear_cache and ce_clear_post_cache actions that can be fired (do_action) to trigger the clear.
From the code, I also found that Cache Enabler does not seem to automatically flush the cache when a post/page is edited like other plugins. It only seems to do this for comments, which is a bit odd.
Anyway if anyone from Cache Enabler is reading -> Feature Request: Add ability to flush cache when a post/page is updated.
Right now, I’m doing it in my theme which is not ideal.