• Resolved fesarlis

    (@fesarlis)


    Hello.
    I use autoptimize with a caching plugin (Gator Cache). Do you think it will work together?

    Generally speaking, I don’t get it. If there are two directories created in cache directory (namely autoptimize and gatorcache) which is read when?

    Also, how would one proceed in cleaning caches? Clean autoptimize first then gatorcache or vice versa?

    Finally, what happens (at least for autoptimize) when new posts are added? Cleaning the cache manually everytime is not an option.

    Thanks

    https://www.ads-software.com/plugins/autoptimize/

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

    (@futtta)

    you can use both, no problem; AO caches optimized JS & CSS, GC caches the HTML pages. Regarding cache-cleaning; if I’m not mistaking GC automaticall cleans up if AO’s cache is purged. And you don’t have to do a thing for AO (or GC) when a new post is added, all is handled automatically ??

    frank

    Thread Starter fesarlis

    (@fesarlis)

    Thank you for such fast response.

    In my case of course, I did not enable js and css optimize because it messes up everything. Any idea on how to avoid that would be great.

    Plugin Author Frank Goossens

    (@futtta)

    Have a look at the FAQ fesarlis, it has information on how you can troubleshoot.

    frank

    Thread Starter fesarlis

    (@fesarlis)

    Already read the FAQ, and have played with all sorts of combinations for options. OK, so let me describe the issues.

    1. Site will work OK if I put my main CSS in exceptions. In your opinion, is it good practice? I mean, is there a chance that the main CSS can be also minified or the exception is the only solution once it does not minify properly?

    2. Tried also to minify JS. I haven’t noticed anything strange in page rendering, except for one ‘post slider’ that exists on homepage. I suppose it is based on jquery, so I just added jquery in exceptions. Playing with various options, I was able to eliminate all js errors, but it still does not work. The error produced is the following:

    (index):6 Uncaught TypeError: jQuery(…).innerfade is not a function.

    This is with no options enabled (just optimize on). Enabling other options cause more js errors. jquery.js is on exceptions.

    Plugin Author Frank Goossens

    (@futtta)

    1. Site will work OK if I put my main CSS in exceptions. In your opinion, is it good practice? I mean, is there a chance that the main CSS can be also minified or the exception is the only solution once it does not minify properly?

    not ideal, but better then not optimizing your CSS at all I guess? ??

    Uncaught TypeError: jQuery(…).innerfade is not a function.

    ah, then you’ll have to try also excluding jquery.innerfade.js (or jquery.innerfade.min.js or maybe even jquery.innerfade-min.js). or try just adding innerfade, that could be a nice catch-all ??

    frank

    Thread Starter fesarlis

    (@fesarlis)

    Thank you Frank.

    It would be nice if you would add the ability to add the exceptions in a tabular form, instead of comma-separated. This seems necessary since the whole philosophy of autoptimize is based on manual intervention.

    In any case, I am happy to inform you that after hours of tweaking I now manage to get a pagespeed score of 91 (of 65-70 before). Thank you for your excellent work and support.

    Plugin Author Frank Goossens

    (@futtta)

    It would be nice if you would add the ability to add the exceptions in a tabular form, instead of comma-separated.

    not sure I understand fesarlis, could you explain in some more detail?

    In any case, I am happy to inform you that after hours of tweaking I now manage to get a pagespeed score of 91 (of 65-70 before).

    great!

    Thank you for your excellent work and support.

    you’re welcome!

    frank

    Thread Starter fesarlis

    (@fesarlis)

    I mean: instead of having a text field to add exceptions separated by commas, to add a box with a text field below, and an ‘Add’ button.

    Plugin Author Frank Goossens

    (@futtta)

    understood, I’ll add it to the list of possible enhancements ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Use with external cache plugin’ is closed to new replies.