Questions tagged [google-pagespeed]

deleted as mod-pagespeed should be used instead.

PageSpeed Documentation is available here.

544 questions
4
votes
1 answer

When to use rel="preload"? Why is preloading fonts/FontAwesome a good idea?

I got this recommendation, in Google Pagespeed: The 'learn more'-link leads to 404. I tried figuring out, why this is supposed to save me 7.08 seconds, but can't find it. I would assume that loading 10 icons on a page would be the very last…
Zeth
  • 2,273
  • 4
  • 43
  • 91
4
votes
1 answer

PageSpeed error: Invalid task timing data

My website uses the following optimizations to free up main thread as well as optimize content load process: - Web workers for loading async data as well as images. - Defer images until all the content on page is loaded first - typekit webfontloader…
4
votes
0 answers

Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles

Whenever i am adding single js file in my site google page insight show "Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles" ,how to resolve this issue ?
4
votes
0 answers

"Serve static assets with an efficient cache policy" - How many days is best practice?

On google page speed test, it logically suggests to setup browser caching for static content, like .js .css etc. "A long cache lifetime can speed up repeat visits to your page." I am setting this up, but for how long? There must be best practice…
Jquestions
  • 1,650
  • 1
  • 23
  • 30
4
votes
0 answers

Angular 6 minify index.html on ng build

In according to Google Page Speed - Minify Resources, i want minify the html of index.html for the build. I can minify index.html manually before upload it on the live server, but the best way is minify on fly on the build, eg.: ng build --prod &&…
ar099968
  • 6,963
  • 12
  • 64
  • 127
4
votes
1 answer

Can we host locally v0.js in our project for AMP

I am implemented AMP pages. So I am calling https://cdn.ampproject.org/v0.js api from cdn. But I want to save this file in my project. Because third party API making slow website. I have tested my website in googlepagespeed 1:…
Varun Sharma
  • 4,632
  • 13
  • 49
  • 103
4
votes
1 answer

Static resource caching by configuring HTTP header in Ruby on Rails 5

Probably most of you have come across PageSpeed Insights by Google just like me. Using this tool I've analysed my website to see how it could be optimised. So far everything has been great up until now. Google's tool indicated that I need to…
4
votes
1 answer

Above the fold CSS a necessary evil?

I find Google Pagespeed Insight sometime ludicrous. It says, Optimize CSS delivery....says defer script, move to footer, inline styles etc etc etc....while all the while there are plenty of advice out there saying not to inline CSS. Eitherways, I…
user3526204
  • 509
  • 5
  • 22
4
votes
1 answer

Why does pagespeed module add eval()?

I activated Google PageSpeed module on my site via my cPanel and my site seems to be a lot faster now, but I noticed it adds lots of: etc.. Does anyone know…
capvidel
  • 359
  • 3
  • 14
4
votes
2 answers

How to join multiple tap targets into one to fix PageSpeed "tap targets too close"-warning?

Situation and problem description I'm currently working on mobile optimization of a web page according to hints given from Google Developer's PageSpeed Insights Tool and I get a lot of warnings about tap targets being too close to each other. The…
xmoex
  • 2,602
  • 22
  • 36
4
votes
2 answers

How to parallelize downloads across hostnames on WordPress?

I'm getting this message "Parallelize downloads across hostnames" when checking my WordPress site on GTmetrix > https://gtmetrix.com Here are the details > https://gtmetrix.com/parallelize-downloads-across-hostnames.html How do I fix that ?
Leoncio
  • 1,479
  • 2
  • 16
  • 19
4
votes
1 answer

Google PageSpeed API dotnet .net

I have set up a basic C# application to run a PageSpeed test on a website that I specify using the Google.Apis.Pagespeedonline.v2 nuget package. The set up is simple enough and I have a variable that I can specify the url which is then past in to…
4
votes
1 answer

Facebook like counter decreases Google PageSpeed Insights Score?

I have included facebook like counter in my webpage but it decreases page speed percentage to less than 90 around 70. with following suggestion.How can i fix it ? Enable compression for the following resources to reduce their transfer size by 217KiB…
viptl122
  • 41
  • 1
  • 3
4
votes
1 answer

PageSpeed Insights low score. 1 blocking CSS resource

I get the below error in PageSpeed Insights. I went into Minify "manual" mode and added the below CSS. But Google still complaints about the CSS . I only have score of 64/100. Please help. Your page has 1 blocking CSS resources. This causes a delay…
3
votes
1 answer

Uses deprecated APIs

I hope u are good and healthy, do you how to solve this error? Uses deprecated APIs 1 warning found Deprecated APIs will eventually be removed from the browser. Learn more. Deprecation / Warning Source ... https://www.vpn-pink.com:0:-1 thanks I…
Danijel
  • 31
  • 1
  • 4