Moving HTTP/2 to Preload Minified CSS
-
Before it post, i wanna say thanks best W3TC for your support
After testing 3 days HTTP/2 new feature, i see a bit increase performance of my site.
Actually in google page speedtest.But, i don’t know Google Boot decrease its crawl to my page.
I see some article that said “Google boot not support HTTP/2
So i create alternative as preload css, so google pagespeed still get good score
we know w3tc create this file
<link rel=”stylesheet” href=”https://www.advernesia.com/wp-content/cache/minify/8e4e0.default.include.774f8d.css” media=”all” />
so i add preload tag for it
<link rel=”preload” href=”https://www.advernesia.com/wp-content/cache/minify/8e4e0.default.include.774f8d.css” as=”style” /> in head
The problem?
how i know that url changed if cache purged, so i can change the preload tag immediately.If you can tell the php script to copy minified css url, i think it best technic than js script, so i can copy it in header.php in my theme
- This topic was modified 2 months, 3 weeks ago by .
- This topic was modified 2 months, 3 weeks ago by .
- This topic was modified 2 months, 3 weeks ago by .
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.