Forums

Where are cached files stored? (5 posts)

  1. WPDogger
    Member
    Posted 2 years ago #

    I just uninstalled wp-super-cache and installed w3-total-cache due to a poor performance rating in Webmaster Tools and YSlow. After installing w3 total cache and tweaking a few recommendations from YSlow, the site moved from a YSlow rating of D to C. I still have work to do.

    I noticed that there appears to be a lot of variably in my home page loading time since installing w3-super-cache. YSlow reports load times from 1.5 seconds to over 10 seconds. I started checking the installation and cannot find a location where the temporary cached files are stored. Where are the temp files stored? I want to make sure that the installation is actually working.

    Also, why did I have to set permissions for the images directory to 777? It doesn't appear that w3-total-cache is using it for anything.

    I love the simplicity of this plugin versus wp-super-cache, but I need to understand it better.

  2. WPDogger
    Member
    Posted 2 years ago #

    OK, I found the temporary files in the wp-content directory. For some reason, they did not show up when I refreshed the FTP window shortly after installation.

    My next question has to do with gzip. I have gzip enabled on the admin configuration page and I see the gzip files in the temporary file directories, but YSlow says that it is not enabled.

    Do I need to enable gzip in the .htaccess file or in the Apache config file?

  3. Frederick Townes
    Member
    Posted 2 years ago #

    Where are the temp files stored?

    If you're using disk basic or disk enhanced caching methods, files are stored in wp-content/w3tc/pgcache/

    Also, why did I have to set permissions for the images directory to 777?

    That's a temporary requirement so that the files/directories can be created.

    My next question has to do with gzip. I have gzip enabled on the admin configuration page and I see the gzip files in the temporary file directories, but YSlow says that it is not enabled.

    YSlow, is referring to objects it found that are not compressed most likely. For now, there's a commented file you can use in wp-content/plugins/w3-total-cache/ini/_htaccess to enable compression for your entire site (not only pages handled by W3TC).

  4. WPDogger
    Member
    Posted 2 years ago #

    YSlow, is referring to objects it found that are not compressed most likely. For now, there's a commented file you can use in wp-content/plugins/w3-total-cache/ini/_htaccess to enable compression for your entire site (not only pages handled by W3TC).

    Thanks for the quick response. I will try the htaccess file. I wasn't sure it it would create a conflict if I enabled gzip through htaccess.

  5. Frederick Townes
    Member
    Posted 2 years ago #

    No, it won't.

Topic Closed

This topic has been closed to new replies.

About this Topic