Opportunity for improvement
-
Hello. I’m Francisco, owner of atutrabajo and I’m writing to you because, I think, this “failure” (in your plugin) that you will see below, can be an opportunity to improve your project (and mine, of course:).
I explain:
In my previous ticket (https://wordpress.org/support/topic/technical-consultation-2/#post-16561710) you told me that…
…”there is no order for the keywords. You can put it in any order”…
Okay. As I am a “simple” Graduate in Business Administration (UBA/FCE) Specialized in Logistics and Investment Projects, that is to say that I DO NOT understand ANYTHING about programming (and I also hate it, heh), I followed a sequence +/- “logic ” (Believe:).
I looked at the “Developer Tools” (from Chrome), how they loaded the fucking JS files. That is, which one loaded 1st., which 2nd. and so.
And with that I put together a list with; el1ro.js, el2do.js, el3ero.js, etc. () () It is understood that the names of the files are fictitious, right? ⊂(◉‿◉)つ
Then I said. Okay. All my site in General and each of my pages / posts in particular, are “giant”. Ergo, every millisecond of load you can save will be (well) taken into account by Google Pagespeed, right?
Ergo. If for you the “order” is indistinct, I “assumed” that, since your plugin differs the loading of each JS, but from the list that I load in the box created for that, then, before deferring a file , your plugin has to know which one, right?
So, it occurred to me that – your plugin – is going to go to the list, read which js it has to differ and, it will add whatever, to the file in question, right?
At the same time, my cache plugin (W3TC), adds to all files a number that (I understand) you call query string, with the aim of helping browsers identify which file comes first, which second and so
I imagine (because – I repeat – I DON’T understand ANYTHING about programming:), that this is done so that, when the site is cached in a browser, the files are loaded in the order established by said query strings.
Conclusion:
If I tell you that, 1st. load file a, and then file b, and so W3TC will add a query string to file a, one to file b, and one to file c, such that, in browsers, it loads 1st. the a, then the b and then the c, right?
Ergo. Since, in the case of your plugin, what it does is defer (in my case for 5 seconds) each file, I have to tell it to defer them EXACTLY the other way around, then, if 1st. differs the a, then the b and then the c, there will be a few fractions of a second until the files in question, return to “fit” in place, right?
So, what I did in your plugin was, precisely, create a list of – as you say – “keywords” but indicating that, differ the files: c – b – a Do you understand?
I don’t know if my reasoning is logical and/or if my arguments are valid. But for me – apparently – it worked for me, heh.
I (de)show you what I want to explain in the following screenshots:
Result I – Mobile Pagespeed
https://ibb.co/NsfPcX9
If you look (well) – apart from having a good score, heh – the parameter “Total blocking time”, says that it is sooo good (80 ms).
This is (above all) the parameter that improves your plugin the most. How do I know? Simple…
Because before being + 1 day! accommodating (almost) ALL my js (except 11)(*) in v/plugin, this parameter gave me so much more.So far, so good. And then? Well. Look at the following result…
Result II – Pagespeed on PC
https://ibb.co/v41nhhV
If you notice (besides a “perfect” score:), the aforementioned parameter (TBT), gives me 0 ms!
And then? So, if you look (well), the 3rd. “Best Practices” circle is blank and has a question mark.
This does NOT worry me but, when that appears, also this other…
https://ibb.co/g6p2GbF
As you can see, the 1st. 6 errors are FALSE (The others are not, heh:). What do I know. Basically for 2 (two) reasons:- The 1st. It is that, if it had so many errors, it would not have a 100 score, no.
- The 2nd. is that, ALL (the 6 parameters) are OK () () It is what – for example – can be seen on Mobile
And what do I think is going on? Simple (I think, heh:).
As (from what I could see in the reviews BEFORE installing your plugin), what you do is “trick” Pagespeed so that, during the set time (in my case 5 seconds), Google does NOT “see” those files , ergo – said algorithm – understands that there is an “error”, heh () () It can’t be that there are no JS files, right?
Anyway.
That being said, now yes, the opportunity for improvement…
Frankly, here between us, Google in General and Pagespeed in particular, have me – as we say around here – “rotten” Why? Basically because;
1) This is the result of the same page in Pingdom Tools;
https://ibb.co/2j7jRjw
2(two) little things regarding this result (That I just realized:)…
a) When I had less js in your list THIS result was “better”, heh (*) I had an A and, between 94 and 96 points.
b) Don’t give a damn about gzip compression because said report is “false” () () I know because in any measurement tool – if you want you can try it – it gives me that, all my site , is compressed by +80%. But hey.
And what I think happened. Well, it’s a “theory” but, what I think is that, since there are less js (because now they are in the “air”, heh), there is also less everything else but, in relative terms.
For example:- There are more HTTP Requests because now you have to fetch those js (which differs from Flying) after loading the site.
- There are fewer Expires Headers because now, there are js files that go well, heh.
- There is less compression because now, there are more “free” files (that come and go).
And so.
One way or another, the most important thing is that despite all of the above… The site took BARELY 653ms to load, heh!
2) This is the GTMetrix report
https://ibb.co/kyfnJpW
This one always gave me good (Then and now, heh:)
3) The one from WebPageTest is also good for me but, for some time now, they changed their modality and now (since they want us to pay), it tells me that…
…”Your free measurements for this month are over… If you want more you have to pay”… (Or something like that, heh:).
After all this “chitchat” what would be the improvement proposal? Easy.
If you can get Pagespeed to stop displaying those horrible warnings I showed you, we, your users, would be sooo much happier using your plugin.
By? Well, because we would know that it is effective and because – furthermore – we would “comply” with that lead that is Google.I hope it is understood.
I await your comments.
Greetings.
The page I need help with: [log in to see the link]
The topic ‘Opportunity for improvement’ is closed to new replies.