• Resolved starssurfer

    (@starssurfer)


    Hello friends

    I would like to read the FAQ page of your plugin but it is frozen, just show the questions.

    My cache is getting huge, does Autoptimize not empty the cache?

    Thank you very much

    Aurelio Martuscelli

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens

    (@futtta)

    works fine here @starssurfer. a quick copy/ paste;

    Autoptimize does not have its proper cache purging mechanism, as this could remove optimized CSS/JS which is still referred to in other caches, which would break your site. Moreover a fast growing cache is an indication of other problems you should avoid.

    Instead you can keep the cache size at an acceptable level by either:
    disactivating the “aggregate inline JS” and/ or “aggregate inline CSS” options
    excluding JS-variables (or sometimes CSS-selectors) that change on a per page (or per pageload) basis. You can read how you can do that in this blogpost.

    Despite above objections, there are 3rd party solutions to automatically purge the AO cache, e.g. using this code or this plugin, but for reasons above these are to be used only if you really know what you’re doing.

    Thread Starter starssurfer

    (@starssurfer)

    Thank you Grank, I’ll try your sugestions

    Cheers

    Aurelio Martuscelli

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