Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35694
    Laura Barton
    Guest

    Hi. I spent the afternoon on w/ Hostgator b/c I was having issues w/ my site. They said that the plugin “W3 Total Cache” is causing me problems. They said the plugin is adding a file that causes the site to go down. They said to reach plugin vendor and ask the below question:

    “If there any setting is added by the plugin apart from wp-config that helps the plugin to add files to File Manager? I have disabled the plugin “W3 – Total Cache”.

    Looks like W3-Total Cache is adding folders. Hostgator said the plugin adds “advance-cache.php” to wp-content and “w3tc-config” folder to wp-content. There is a code in wp-config.php which is define(‘WP_CACHE’, true); // Added by W3 Total Cache HG have changed it to false and it constantly adds again. They wonder if there should be any other setting set by plugin vendor which is causing this issue? Can you please assist? Many thanks.

    #35706
    Marko Vasiljevic
    Keymaster

    Hello Laura,

    Thanks for reaching out.
    Yes W3 Total Cache adds files and rules so that caching and the plugin can be used properly.
    W3 Toal Cache adds the following:
    1. define(‘WP_CACHE’, true); // Added by W3 Total Cache – this is important for Page Caching so if the constant is not added there will be no caching. All Caching plugins are adding the same constant.
    2. in wp-content folder: advance-cache.php (for Page Cache), object-cache.php (If object caching is enabled), db.php (if Database caching is enabled).
    3. wp-content/w3tc-config/ – This is where the configuration of the plugin is stored in the file called master.php
    4. W3 Total Cache also creates a /cache/ folder in wp-content – The cached files are stored in that folder and served to visitors of the website.
    5. W3 Total Cache is also adding the rules in .htaccess/nginx.conf (mostly Browser Cache) depending on the settings enabled.

    I am not sure what is the specific issue you are experiencing, however, there is a possibility of a conflict with some other plugin. I have a couple of websites on HostGator and W3 Total Cache installed and there are no issues on those websites.

    Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘W3 Total Cache – adds files and wp-config lines’ is closed to new replies.