Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author GatorDog

    (@gatordog)

    The cache directory shouldn’t be anywhere in the document root. However, since most sites are shared hosting and such, it’s there to enable http caching with Apache. However, it’s rather simple to move it:

    1) You’d probably want to purge the existing cache, although this is not required.

    2) In your WordPress directory or document root, you’ll see a file called gc-config.ini.php. Open this file file and you’ll see a line for the setting “cache_dir”. You can change the location of your cache directory there. You don’t have to actually create the directory, it will automatically be created if it does not exists.

    May consider making this an advanced setting in the future, but for now it’s easy enough to change in the config file.

    Thread Starter schecteracademicservices

    (@schecteracademicservices)

    Thank you for the rapid reply! I tried almost a dozen different cache plugins, and yours is by far the best.

    ronangelo

    (@ronangelo)

    @schecteracademicservices

    I’m curious as to how this could be an issue. Gator Cache is for Page Caching. Cloudflare caches resource files like images, css, js and not the HTML page. I use Cloudflare too and I think both work well together. What does your extra page rule on Cloudflare do?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Move cache directory into wp-content please?’ is closed to new replies.