can you share your URL geoogz so I can look at the HTML source?
Thread Starter
George
(@geoogz)
May I send you the URL in private?
Thread Starter
George
(@geoogz)
Thread Starter
George
(@geoogz)
I’m running it in WEBPAGETEST.org and GPSI but no luck in showing the result of Page Speed.
Hoping you could help me.
Thanks in advance.
you can mail me at futtta-at-gmail-dot-com (the pastbin paste did not work as it’s private) 🙂
Thread Starter
George
(@geoogz)
Thanks for the link geoogz 🙂
So;
1. from AO all is ok; the Autoptimized JS is loaded at the end of the HTML and has the defer
attribute;
<script type="text/javascript" defer src="https://your.url/wp-content/cache/autoptimize/js/autoptimize_e0d4003645cb8af7059ab829bec1978c.js"></script></body></html>
2. the pagespeed _score_ is actually available (94/96), but the speed data is not (this is also the case when AO is disabled);
the reason for that is explained on this GPSI FAQ entry
hope this clarifies,
frank
Thread Starter
George
(@geoogz)
Thanks frank 😀
“The speed data shown in PSI is not updated in real-time.” This refers to the speed data right?
The question now is why autoptimize js are being loaded before rendering the page as per webpagetest.org if the js is already set to defer.
If you test the site on webpagetest, you can able see the data under DETAILS tab that script.min.js is loaded “AFTER ON LOAD”
(http://mockupr.com/mu/awci0714/before-start-render).
ah, but that’s normal; scripts with the defer
attribute are loaded while HTML is still parsed, but executed after (domcontentloaded), see https://bitsofco.de/async-vs-defer/ for some more info.
Thread Starter
George
(@geoogz)
Hi frank,
I’m getting 403 error when purging the cache of AO > W3TC > Custom Purge of CDN.
I’m afraid I have no idea how W3TC’s custom purge of CDN works geoogz.
Thread Starter
George
(@geoogz)
When I delete cache the cache of OA. It will populate another js file and delete the old version of it? Am’I right?
when you delete AO’s cache the normal way, then everything will removed and AO will try to “warm the cache” by doing an (invisible) request for the homepage, so you should indeed see a couple of JS and CSS-files appear yes. but AO does not create new version of all files immediately if that’s what you mean.