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?
Thread Starter
Arnie
(@arn1e)
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;
Thread Starter
Arnie
(@arn1e)
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.
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!