Closed janvitos closed 3 years ago
We don't plan on adding this type of handling in the current branch (1.6) but have it on our list to evaluate in the future. In the meantime the function in the following post can be used: https://wordpress.org/support/topic/amp-cache-is-not-cleared/#post-13809107
I will check this out. Thanks.
We do not plan on adding support for this directly to Cache Enabler. However, we are looking adding this type of support by introducing something like #229. That way snippets like I shared above can easily be added to extend Cache Enabler for specific uses cases, like clearing the AMP cache if the website is using an AMP plugin.
Hi,
I noticed that when I save / update a post, the cache for AMP pages is NOT purged. Looking at the cache folders, I see that the /amp/ folder inside the main article folder has the same timestamp as before the update.
It would be great if the plugin would also purge the /amp subdirectory on post save / update. I know there are many different amp locations (/amp/, /?amp, /?amp=1, etc.) so it might be tricky to get them all purged.
Thank you.