Hi @barnabas1
there are some ways to do that:
https://cachify.pluginkollektiv.org/documentation/#flushing-cache-from-third-party-applications
One action for the complete cache …
https://cachify.pluginkollektiv.org/documentation/#cachify_flush_cache
… and one for the cache of one page/post:
https://cachify.pluginkollektiv.org/documentation/#cachify_remove_post_cache
But you need to trigger this action hook with your own PHP file via Cron Job (adding your own checks) as mentioned here:
https://cachify.pluginkollektiv.org/documentation/#no-cache-expiration-option-while-using-hdd-cache
Maybe we can simplify this a little bit more in a future release. I will open a Github issue for this.
All the best
Torsten
Edit: https://github.com/pluginkollektiv/cachify/issues/238
-
This reply was modified 4 years, 8 months ago by
Torsten Landsiedel. Reason: Added Github issue link
Hello Torsten,
Thank you for this.
The problem with my website is that Cachify doesn’t seem to work on the first access of the page. (I’m using HDD cache). I’m only able to see the Cachify signuature when I reload manually the page that I just accessed.
<!– Cachify | http://cachify.de
HDD Cache @ 21.07.2021 16:08:50 –>
Otherwise, the source code does not have any signature and on top of this very often I get pages with unstyled content and I don’t know what is causing this issue.
Any idea what might be the issue?
I have a feeling that this is because I was minifying HTML & Javascript. I have set it only to minify HTML now and for a while, I don’t seem to get unstyled content. I’ll update once it is more clear to me.
I think that minifying only HTML works better for my site. I get unstyled content once every other day so I have set to flush the cache with a Cron Job using the WP Control Plugin, as described in the Github thread above.
Only issue I still have is that when I’m logged in as an admin the Woocommerce cart and checkout pages always display unstyled and it is a bit annoying. The plugin is set no to create cache for logged in Users. I’m not sure what is causing the issue as for customers it is displaying correctly.
What could be causing this issue?
Hello,
I just managed to solve the caching problems I had on my site.
Apparently, my previous host – Hostgator, had installed on a “Must-use” plugin called “Endurance page cache”. There was no deactivation option on it and all this time I thought this plugin was installed by WordPress and it concerned a core functionality of the site. I found this thread https://stackoverflow.com/questions/45574915/what-is-the-endurance-cache-feature-in-my-wordpress-website/68673641#68673641 that made it clear I must get rid of it. This must have been the reason for all the conflicts I had up till now with Cachify.
Now everything is back to normal. Thank God.