Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19297

niska on "[Plugin: W3 Total Cache] Purge Policy: "Additional pages" not working"

$
0
0

When I update or publish post I want some additional pages to be purged.

Previous I have edited the PgCacheFlush-file and added this line in the flush_post() function.

w3_rmdir('/www/domain.com/public_html/wp-content/cache/page_enhanced/www.domain.com/gratis');

This has the effect of removing the directory "gratis" and all subdirectories/files.

But the downside is that I have to add this line all the time when I update the plugin. So instead I wanted to try the Purge Policy "Additional pages". So I just added the line "gratis" in that box. But the directory "gratis", and subdirectories/files are still there when updating/publishing posts.

What could be wrong?

http://wordpress.org/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>