TLDR - Is there ANY other way to do a preload key request with wix. PLEASE! It shaves off so much time it’s insane.
So running the google pagespeed test, it tells me to use preload key requests to speed up the website. " Preload key requests 14.04 s Consider using to prioritize fetching resources that are currently requested later in page load."
It literally would increase page load time by 14 seconds, which is ridiculous.
It works on every page except the home page. The number within the code “1.2670.0” does seem to change, and I wonder if there’s a preload request that’s more basic that wouldn’t change. It also shows code at the top of the pages when switch between them or on a refresh, causing the menu bar to disappear.
Okay, I was able to break it down even further to <link rel=‘preload’ href="https://static.parastorage.com/> in the header, using a specific page to test.
It’s fantastic BUT it still does weird thing upon refresh and everything on my menu bar disappears. I think I’m missing the follow up within this code or the first. Both work, but both have minor errors.
Don’t overuse it. Preloading everything won’t magically speed up the site – instead, it will likely prevent the browser from scheduling everything smartly.
The prefetch and preconnect don’t really help with my site specifically. I’m not particularly concerned with page to page speed, but initial load time.
The preload code works, but I can’t figure out how to make it not error out - Can you preload…a CDN? The parastorage.com is what speeds it up drastically.
The preload link can be specified by the developer, or be automatically generated by the application server or an optimization proxy (e.g. a CDN). https://www.w3.org/TR/preload/
DNS prefetching can be added to a specific URL by adding the rel=”dns-prefetch” tag to the link attribute.
I suggest using this for things such as Google fonts, Google Analytics and your CDN.
At any time you load a resource that the very first thing occurs is DNS lookup. If the resource is local to your domain, then the dns lookup has already happened so there’s not much help there. But if you use a CDN, or are loading scripts from another domain, it will help to have the DNS already looked up.
@admin8521 Occasionally they will. I posted this all over everywhere - other forums, reddit, etc. It’s a wix thing and it’s not possible to preload them for whatever reason. I’ll see if I can find the response from the wix people telling me this.
@jonatandor35 I tried that way. it is even slower. And if it’s faster, I’d have to check and change the generic number in front of wix-code.com from time to time. I would waste a lot of time on that
@zokierc I’m not asking about the wix-code.com specifically. I’m wondering if any of the dns-prefetch had any significant effect.
Do you feel it speeds up anything?
@jonatandor35 Yes. I had 9 for mobile at PageSpeed Insights. Now have 39
Go to webpagetest.org and test your site. Look at domains tab and add 3 to 4 domains with most connections. Don’t put to many because you will lose performance. Look at waterfall and put in that order dns-prefetch too.
DDD