Questions tagged [google-pagespeed]

deleted as mod-pagespeed should be used instead.

PageSpeed Documentation is available here.

544 questions
5
votes
1 answer

Reduce the impact of third-party code - Google CDN

Seems like my page speed score is heavily impacted by this issue: Reduce the impact of third-party code Third-party code blocked the main thread for [number] ms This number changes every time I run the test, sometimes it's 1,000, sometimes…
5
votes
3 answers

Google Tag Manager and page load performance: does it reduces performance in PageSpeed Insights?

I know this may seem a bit vague, but I'm about to give more context: in the company I work for we use (my personal thought is we're misusing) Google Tag Manager (GTM) to inject some third party scripts inside GTM tags. Mostly we use it to…
vcoppolecchia
  • 398
  • 1
  • 4
  • 18
5
votes
0 answers

How do I minimize the critical request depth for initial navigation?

I was working on a similar issue for woff2 file type and made it successfully. Thing is, the woff2 file exists in the server and was able to reference it in the:
Jim
  • 407
  • 1
  • 11
  • 24
5
votes
0 answers

"Script as a render blocking file" after using Web Font Loader

I am trying to remove the "Script as render blocking file" error from Google Pagespeed insight caused by loading a Google web font. The internet tells me to use Web Font Loader to load the fonts async. I placed the following piece of javascript in…
Robbert
  • 1,270
  • 6
  • 30
  • 62
5
votes
2 answers

Link stylesheet preload vs W3C validation

I'm trying to satisfy 2 checkers: W3C validator and google page insight Google Page Insight suggested to me to load asynchronously all blocking CSS files. Well, I've rewritten the stylesheet file inclusion in preload way, as follow, and deferred…
Fabio Formosa
  • 904
  • 8
  • 27
5
votes
2 answers

The URL timed out. Make sure it is responding in a timely fashion to requests from Google.Dismiss

I am checking website link in https://developers.google.com/structured-data/testing-tool/ One url link is working and the other one (from the same site) is not. This message is coming up: The URL timed out. Make sure it is responding in a timely…
5
votes
2 answers

Leverage browser caching for Nginx, no css when reloading the page

I amtrying to follow the google pagespeed advice and Leverage browser caching. For that I place the following code into the server block of my nginx.conf file. location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ { expires 365d; } location ~* …
carl
  • 4,216
  • 9
  • 55
  • 103
5
votes
1 answer

Google Page Speed Leverage browser caching not marked as resolved

I have few warnings wich I'm tyring to solve in the pagespeed test, such as: Leverage browser caching Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources…
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
5
votes
2 answers

Asynchronously load to eliminate render-blocking js & css?

I've just spent a really long time googling... and only find half answers everywhere. I am using the google page speed insights to improve my website and it tells me to asynchronously load my javascript. I found a couple of codes, but they didn't…
Shtarley
  • 313
  • 9
  • 22
5
votes
3 answers

Google PageSpeed Insights API Screenshot to file

I have been trying to retrieve the screenshot from the API but when I decode the image and save it I get a broken image. Below is the code I am using. I created a tinyurl to a sample file containing a google response if you wish to test it. $name =…
James
  • 702
  • 2
  • 15
  • 39
5
votes
5 answers

Defer loading of js how?

I have the following js script referenced on the bottom of the page: Google PageSpeed suggestion is to defer the loading of this js. I don't quite understand how to do that…
Kermit the Frog
  • 3,949
  • 7
  • 31
  • 39
5
votes
1 answer

Improve server response time on Google PageSpeed Insight. Is it New?

I have build a template and some site for client. I always give a concern about site loading time. I Google PageSpeed Insights is one of my main tool. Two days ago, i have mention something different. I found that many of my site page load is drop.…
4
votes
2 answers

How do I eliminate unnecessary reflows in the JQuery library?

So, I just ran Google's Page Speed on my website and received the following notice: Can someone please tell me what that means? And how to "eliminate" those unnecessary reflows? I also tried to use http://code.jquery.com/jquery-1.6.2.min.js…
user317005
4
votes
2 answers

Should I serve SVGs at the correct size or should I shrink them and let the browser resize them?

SVGs are vectors so they can rescale in size without losing any quality. Knowing this my mind says, why would I ever use an SVG at the correct size. It seems to me that the same size SVG at 100px x 100px is far larger in size than at 10px x…
Eoin
  • 1,413
  • 2
  • 17
  • 32
4
votes
2 answers

Google PageSpeed Insights showing unused javascript but it is used

Javascripts which are used but google page speed insights shows it is not used. Is there anyway the i can remove it. Here i am sharing the screen shot of PageSpeedInsight report. In the above screenshot u can see 8 js files were unused. But it is…
SDK
  • 1,356
  • 3
  • 19
  • 44