8

Google measures speed from the US. However, for SEO, Google doesn't actively penalize sites unless they are very slow. Unless your pages (without JS, CSS, and images) takes more than 7 seconds from the US, you have nothing to worry about. Google will notice if your users find your site slow. If your page isn't usable for your visitors in three seconds, ...


7

I see the same unsightly results for pages without any problem before, of course using responsive frameworks like ZURB Foundation with responsive images. In the past I used: find . -iname "*.jpg" -exec jpegoptim --strip-all -o -p {} \; and got great results. Jan 2017 solution: 85% quality should do the trick: find . -iname "*.jpg" -exec jpegoptim --...


5

This is a good question, but the answer is no - it will not affect your search engine rankings negatively. It will provide a (marginal) benefit due to decreased file size. To understand why it won't negatively affect you, open your site up, right click anywhere, and select "Inspect element" (this option will be called something slightly different between ...


5

http://www.whereisthefold.com/ states: The fold is a term used by webmasters and website owners to mean the portion of your site which can be shown when first entering the site without scrolling down at all. Therefore, above the fold means everything that is shown on the first screen page. So if your web browser page window is 1000 pixels wide and 800 ...


5

Always Look for Better Solutions As a rule-of-thumb, always look to see if there are any better solutions. Themes often become dated or even abanded when the developers move on or focus on a new theme they are making. On top of this, new technologies emerge that might not be compatible with older code, such as newer and faster versions of PHP. Google ...


4

Rather simple.... you can't. Shared hosting even with SSH enabled does not give the necessary permissions to install new server-side processes because your actions could affect their security or the performance of the server that will ultimate affect everyone on it. The SSH provided to you as apart of cPanel for non-administrators is for administrating of ...


4

As @TimFountain says, you have "no control" over resources served from a third party. The request goes to the third party server, not your server - so any code you place on your server is simply never processed when the third party resource is requested. Google Analytics and Tag Manager are served from Google's servers. Only Google controls Google's servers!...


3

You can only control the caching of files from your own domain. Facebook, Google, and DoubleClick serve those files. If your server isn't the one that sends the files to users, you have no control over their caching. Facebook, Google, and DoubleClick have thought about caching times and have set them appropriately. The page speed recommendations are ...


3

You may temporally (during your checks) do not redirect for the usual Google IP range that is used by PageSpeed: 66.249.64.0/19. But note that this will open your site to Google bots, so you also need to change your robots.txt file to disallow them: User-agent: Googlebot Disallow: / Another approach would be to use some performance checker addon from your ...


3

You're much better off doing a redirect from non-www to www. There is no need for canonical and no need for Javascript. If you have apache with mod_rewrite installed, then in the main apache configuration file, you can add these lines: RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] Of ...


3

It happens because the Google server that is used by Google Webmaster Tools is not necessary located in Luxemburg because based on your research, the Google.com's server is there. Google uses many servers around the world and it is almost impossible to know from which one you will be crawled every time. Furthermore to your question, I really think is a ...


3

I have found that mod_pagespeed serves images and other resources with a cache expiration of 5 minutes if they are not available in its cache directory (yet). Also, after restarting the Apache webserver it takes a while until mod_pagespeed regains its maximum efficiency. It may help to delete and recreate the cache directory: sudo mv /var/cache/...


3

Yes, Pagespeed and other performance testing sites will report different results depending on your location, since the network routing across the internet to get to your specific web server will vary. GT Metrix has a great blog post explaining this behavior. Google's own documentation (from the legacy standalone Pagespeed web site tester) also describes ...


3

Before the browser can render the page, it needs to construct the DOM and CSSOM trees. As a result, we need to ensure that we deliver both the HTML and CSS to the browser as quickly as possible. The final output of this entire process is the Document Object Model (DOM) of our simple page, which the browser uses for all further processing of the page. ...


3

Yes, Google Insights considers page response time as a factor and it's a known fact that the distance between a server to another increases latency as the distance in which the packets need to travel, therefore it the response time is naturally decreased. Also... note that the scoring used on other sites are not the same as that of Google Insights, each ...


2

The latest recommendation from google is to use imagemagick convert: convert INPUT.jpg -sampling-factor 4:2:0 -strip [-resize WxH] [-quality N] [-interlace JPEG] [-colorspace Gray/sRGB] OUTPUT.jpg with the specific example puzzle.jpg convert puzzle.jpg -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace sRGB puzzle_converted.jpg using ...


2

You may also notice the message: "Download optimized image, JavaScript, and CSS resources for this page." They've done the work for you if you're having trouble getting the optimization Google is expecting. Sometimes various tools can't get down as small as Google wants.


2

You say that there are page speed requirements but they are actually recommendations, guidelines, and best practices. Most of the time, you would do better to follow the advice, but there are times when the advice is inappropriate or not worth the effort. You don't need to get a perfect score. Any score about "80%" is probably good enough. For search ...


2

You can allow Google Page Speed Insights by its User Agent in your .htaccess: SetEnvIfNoCase User-Agent .*Google Page Speed Insights* page_speed_insights Order deny,allow Deny from all Allow from 127.0.0.1 # your IP Allow from env=page_speed_insights


2

You basically have three options; external, internal, in-line. External: Is where you have an external CSS file. In-Line: Is where you specify style for each tag. Internal: Is where the CSS code you would use for an external CSS file is placed within the pages <head> tag. I do not recommend adding style to individual HTML tags. While it is not a ...


2

This question might belong in Stackoverflow and not here but you are including the complete stylesheets and scripts in each of your pages. That increases the download and computation time for each page significantly while the recommendation you speak of is only talking about less significant amounts of styling and code. Doing what you show can increase your ...


2

This will reduce the redirects RewriteEngine On RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] RewriteRule ^(.*)$ https://www.example.com/$1 [L,R=301]


2

Your htaccess rules will only affect assets served from your server. There is nothing you can do to affect caching of assets served from third party servers - you have no control over these.


2

Unfortunately you can't directly remove the Insights warning. The PageSpeed tool can't tell that you don't own the facebook.net domain and therefore have no control over the response headers. Presumably Facebook have given this file a short(ish) cache expiry time so they can deploy changes to it and have them take effect pretty quickly. I say you can't "...


2

Google does NOT use Google Pagespeed, Google Insights or Google Lighthouse to determine your rankings, so those scores... are meaningless for real-world ranking purposes. In terms of rankings, what really matters is that the page renders on both smartphones, tablets and desktop computers, you test this using Google Fetch which can be found within the ...


2

There are only two page load speed metrics that really matter: Time until the HTML page is delivered (without assets such as images, CSS, and JS) Time until the first screen of content is loaded and usable HTML delivery time is important because it is the factor that Googlebot most directly sees. It controls how quickly Googlebot is able to crawl your ...


2

You want to cheat a bot, which Google don't use it for ranking. Pagespeed insights/lighthouse etc are just for our own analysis purpose, Google don't use that bot at all to determine your web pagespeed. Google just come with their own bot name, Googlebot and crawl your content and major pagespeed. And if you serve different content to Googlebot then it ...


2

Google know that latency is different across region. And Google bot mainly comes with USA IP. So if you think your server should be on USA for faster rendering, then sorry it doesn't work like that. Page should be load under 3 seconds, that's right but it doesn't mean it should be render completely within 3 seconds. When you open YouTube, it is open in only ...


2

You need to add font-display: swap; to @font-face in your CSS as well. @font-face { font-family:'icomoon'; (... all the other instructions ...) font-display: swap; }


1

I changed 3 of my websites to support mobile on November 5, more than 2 months ago. I've also used search console to push crawl of mobile version but still see: Your page is not mobile-friendly. in search results. (Google mobile friendly test tool reports that it's fine.) And my websites has nearly 3000 daily visits. So I was hoping that it would take ...


Only top voted, non community-wiki answers of a minimum length are eligible