WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Managing Cache Through ftp (2 posts)

  1. aaroncross
    Member
    Posted 5 months ago #

    We have a fairly large site (250k post/pages) that supercache keeps running.. we do about 20 to 50 posts/updates perday and each one of those posts sees around 5 revisions.. each post has 5-10 variations.

    So using the wp-supercache content file deleting in the admin panel is.. trying.

    when we manually clear cache for 1 page/post.. we have around 11-15 versions of that page that have been cached in order to fully clear cache for the one page/post.

    We run a streaming site, so basically we are clearing out the alternative mirrors.

    We just had to reinstall wp-supercache because it seem to become corrupt. This was probably due to us having to reset the owner from apache to admin and chmod 777 in the supercache/site/ directory in order for us to have permission to delete the files via http://ftp.. which is soooo much easier.. i can search, and delete the whole post/page cache directory with 1 click via http://ftp.. which is almost impossible to do via the wp-admin panel.. very time consuming to say the least.

    Is there a way we can have permission to delete the cache files via ftp without 'stealing' owner permission from apache or changing from 755 (which we believe messed with wpsupercache / werent able to use the bulk delete expired cache / didnt seem to be caching properly after mod).

    I appreciate your time and help with this plugin. This website literally wouldn't run without it.

    https://wordpress.org/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 4 months ago #

    You should probably use a web based file explorer on your server. That will run with the same permissions as the files so it would be able to delete the files.

    You should probably write a plugin that hooks onto the publish posts actions to delete the cache files automatically.

Reply

You must log in to post.

About this Plugin

About this Topic