Support » Plugin: Autoptimize » Cache Directory

  • Resolved lennilg


    According to the FAQ I’m able to change the default autoptimize cache directory using the following lines:


    However, doing this causes autoptimize to read / write files to wp-content/resources/

    What if I want, autoptimize to read / write to /var/tmp/resources/

    It keeps re-writing every URL attempt into /var/www/site/wp-content/resources

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters


    AO by design has to write to a directory inside WordPress root (and no matter where you write, it has to be to a dir which the webserver has access to as well to server the files), but maybe look into symlinking (provided your webserver is configured to follow symlinks)?



    I was able to use define(‘AUTOPTIMIZE_CACHE_DIR’, in wp-config.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cache Directory’ is closed to new replies.