WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
What does w3tc write to webservers if we *only* use CDN/memcache features? (3 posts)

  1. mjuszczak
    Member
    Posted 1 year ago #

    Hi folks, thanks in advance for anyone who can assist.

    We use multiple webservers and a "deploy" process that pushes our code to read-only webservers. When I tried enabling w3-total-cache, I get a "can not write to local disk" error, and it wants me to set wp-content to be 777.

    We only use the memcache/CDN features, and aren't planning on using any local page caching features. Therefore, what will w3-super-cache need to put in that directory? Since we have multiple webservers, obviously even if I set it to 777, the file(s) it writes will only go on one webserver. Is it still possible to use this plug-in?

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

  2. davidgustav
    Member
    Posted 1 year ago #

    I've had this issue too. When you enable the plugin it tries to create several folders inside /wp-content/w3tc/ including /pgcache/, /min/, /dbcache/ and adds .htaccess files to several of them.

    It will not install unless it can write to the directories which is very annoying. I'm also using memcached.

    To get around around this, I temporarily changed the permissions and enabled the plugin. As long as you don't deactivate the plugin, you should be able to change back to read-only and continue with your usual deploy process.

  3. Ville Mattila
    Member
    Posted 1 year ago #

    In the WP network environment, W3TC creates /wp-content/w3tc-(blog name)/ folders, as well as /wp-content/w3-total-cache-config-(blog name).php files for each blog in the network.

    I have recently seen also a thread (but now can't find it anywhere) where the W3TC author states that the future versions could share Amazon S3 CDN settings between sites/blogs in a network environment. This could also imply that the per-blog setting files etc are not used in the future...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.