Support » Plugin: Autoptimize » optimize autoptimize js files

  • Resolved Arnie

    (@arn1e)


    In the waterfall chart of GTmetrix I’ve got this large file wp-content/cache/autoptimize/js/autoptimize_b31b024f196dd127bd9dabb04edbe1aa.js is it possible to optimize ?

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    I only see wordpress/wp-content/cache/autoptimize/js/autoptimize_d3701fd99234dde4141c9fb4f8df0adc.js and that is only 25KB tranfer size and 88KB uncompressed, so not really large?

    I guess the file keeps changing name in cache as its now https://arn1e.co.uk/wordpress/wp-content/cache/autoptimize/js/autoptimize_9ab54a4000f5ca2ef977015d1929da98.js and the waiting time on GTmetrix is longer that the website itself. Please check here https://gtmetrix.com/reports/arn1e.co.uk/tiKRvkTH

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    if the file changes, you have to reconfigure AO to ensure that the cached version can be re-used more.

    the fact that the file takes long-ish to download is because you’re on cloudflare which, if not on cloudflare yet, has to fetch the file from your server. moreover cloudflare adds the cf-cache-status: BYPASS response header (probably because of cache-control: private from your origin server) which means cloudflare will never cache the JS. Same problem for your jquery.js by the way;

    That’s great thanks, I’m going to disable Cloudflare and see how I get on.
    BTW, if anyone gets problems with Gravity Forms, which they will, you must exclude these js/jquery/jquery.js,/gravityforms/js/ and in Async exclude jQuery and the plugin gravity forms. I’ve seen dozens of answers to the problem of submit button not doing anything and recaptcha not showing but the above setting are the way to go.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

    and thannks for the gravity form feedback, can indeed prove usefull to others!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.