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?