Questions tagged [page-speed]

PageSpeed is a WebServer module that automatically optimizes pages and the resources they use. Google offers it as a free service through their DNS product.

Filter by
Sorted by
Tagged with
13 votes
3 answers
14k views

How do I enable gzip Compression on NGINX PageSpeed Module resources?

I have been focusing heavily on optimizing a certain website so that it scores 100 on the Google PageSpeed Insights tool (for both mobile and desktop). Most of the items are working flawlessly, but I ...
Scrivvles's user avatar
  • 391
10 votes
1 answer
4k views

When should you use and not use Etags?

I was just looking at our site on WebPageTest.org and one of their recommendations for speeding up a website is: ETag headers should generally not be used unless you have an explicit reason to need ...
Django Reinhardt's user avatar
7 votes
2 answers
19k views

Page load long stall times. What is this? [closed]

I have been studying the performance of a website I am building, and notice a curious thing that I can't find the answer to: two requests (always the same two) mysteriously have prolonged stalled ...
Krii's user avatar
  • 131
6 votes
1 answer
2k views

Nginx+pagespeed module | image cache time is 5 mins on first page load

I have a problem with nginx/pagespeed module. The images cache-time is default 5 mins on first pageload. First time: Second time: There are in my nginx.conf: ## # PageSpeed ## pagespeed on; ...
pinGu's user avatar
  • 150
6 votes
0 answers
4k views

How to Build nginx 1.4.0 and ngx_pagespeed in Ubuntu/Debian? [closed]

How to Build nginx 1.4.0 and ngx_pagespeed in Ubuntu Create a directory to download necessary packages (optional) : mkdir pagespeed && cd pagespeed Make sure that you have latest version ...
PePe's user avatar
  • 69
5 votes
1 answer
15k views

Time to first byte: why is it so high? [closed]

I recently changed the host of one of my websites, and I noted that pages are loading slowly. The elements of the page themselves are quickly loaded (the pages are lightweight, CSS and JS are minified,...
gingerbread's user avatar
4 votes
3 answers
3k views

Is it sensible to use both pagespeed and cloudflare?

We're using google's pagespeed service. From what I can gather it just draws the page from our webserver and runs it through the mod_pagespeed optimisation module. I'm wondering does it do any proxy/...
John Mee's user avatar
  • 2,678
2 votes
4 answers
438 views

How to downgrade a 120 Mbit line, to test website speed?

How to downgrade a 120mbit line (our current connection) temporary to a 10mbit to test what our potential clients with less speedy internet are experiencing as the website loads? At this moment ...
Sam's user avatar
  • 423
2 votes
2 answers
8k views

Yum can't add rpm repository via yum install command

I have CentOS Linux release 7.4.1708 Linux distro. I need to install some package. The first command to execute is to add repoistory: yum install https://extras.getpagespeed.com/release-el7-latest....
userlond's user avatar
2 votes
1 answer
1k views

apache2 access log , thousands of logs from the IP of the same server

I was Trying to read the apache access log for my vps 1.1.1.173 server and i have found something wired , it has almost 98% of the requests from same IP address of the vps here is an example of ...
tawfekov's user avatar
  • 195
2 votes
1 answer
2k views

enabling gzip with htaccess...why is it hit or miss?

I have shared hosting through Justhost. I use the HTML5 Boilerplate .htaccess (have tried other methods from here and there without luck) the compression part is as follows: <IfModule mod_deflate....
adam-asdf's user avatar
  • 191
2 votes
1 answer
2k views

mod_pagespeed own js and css render blocking

My mod_pagespeed gives a lower score because it's own js and css are render blocking. Given that the tool is designed to speed up, not slow down, I don't think this is desired behavior by design. Has ...
Vlad's user avatar
  • 61
2 votes
1 answer
2k views

How to reduce "Connecting" time incurred for a request

I am trying to optimize speed of website and during this process I have found that. A connecting time of around 620ms is incurred everytime I request a page. Please see screenshot below for detailed ...
Abhinav's user avatar
  • 783
2 votes
1 answer
488 views

Is it possible to configure a CDN so that it will step out of the way for a subset of regional IPs?

We have a website which targets customers in China, both expat and local Chinese. We have an ICP license which allows us to host in a datacenter inside China. Internet in China is actually as fast as ...
rwired's user avatar
  • 381
2 votes
2 answers
3k views

How to Check Download/Upload Speed to Web Server?

I have a web server in the US (MS Windows 2008). Chinese users are complaining of slow speeds and SQL command timeouts. Other Asian and European users are not.How do I check the speed (download/upload)...
Administrateur's user avatar
2 votes
2 answers
2k views

Any way to speed up my website in other countries?

My website(social network) was built with django, cassandra && memcache, rabbitmq, mysql it used rabbitmq to serve POST requests (often it user submitted contents), to balance the load of ...
springrider's user avatar
2 votes
2 answers
107 views

Reducing Loading of Advertisers Scripts

I have a website (http://dev2.liquor.com) that loads very quickly when I remove the advertisers and tracking scripts our partners give us. Of course we need to reduce page load time from 6 seconds to ...
Zach Smith's user avatar
2 votes
0 answers
484 views

ngx_pagespeed admin statistics don't load

I followed the official install guide to build nginx with the latest stable pagespeed module. It works in some regards so I'd like to debug further with the admin tools. They are enabled in nginx as ...
NoChecksum's user avatar
2 votes
0 answers
2k views

CentOS 7: Nginx systemctl hangs on start, why?

I compiled nginx with pagespeed and made the nginx.service file in /usr/lib/systemd/system/nginx.service but when i try to do systemctl start nginx it just hangs, nginx does start but systemctl hangs. ...
therealssj's user avatar
2 votes
0 answers
395 views

Google PageSpeed suggests compression - but my site is https

Google PageSpeed suggests to deliver some static files like e.g. JavaScript, CSS. But as our site is HTTPS only we disabled compression in our web server because of security reasons. As far as I ...
Thomas's user avatar
  • 21
1 vote
2 answers
671 views

How to not redirect if requesting server_name only

Most people type in the browser bar: mysite.com and not https://mysite.com. Alot of developers including myself have something like this in their Nginx config file which means that this mysite.com ...
tim peterson's user avatar
1 vote
1 answer
2k views

mod_pagespeed refuses to flush cache

I have mod_pagespeed running on my Dreamhost Ubuntu 12.04 VPS. Every time I turn on mod_pagespeed again the old header display (top black bar with data I removed - is shown on all pages. This despite ...
rhand's user avatar
  • 264
1 vote
3 answers
2k views

How to configure HTTPS Nginx + Pagespeed + Varnish + Apache?

I currently have the following set-up: Nginx (https) => ssl offloaded => Varnish (http) => Apache (http) I want to add mod_pagespeed or nginx pagespeed in the mix. Any ideas where to add it? Should ...
Milan Simek's user avatar
1 vote
2 answers
445 views

Nginx and its caching systems. Are they all the same?

I'm a bit confuse about PageSpeed, Microcaching and Memcached. Are they just different tools that do the same job? I was initially thinking in use PageSpeed with Nginx. If I do that, do I need ...
Daniel's user avatar
  • 193
1 vote
2 answers
2k views

Pagespeed GZIP facebook like button

I am using mod-deflate on httpd to compress resources. Pagespeed complains that an external resource (facebook like button) is not being compresssed: Compressing https://fbstatic-a.akamaihd.net/rsrc....
DD.'s user avatar
  • 3,114
1 vote
1 answer
5k views

How to set expiration date for external files? [closed]

I have a site included lots of external files, most of them are gif format. I have no control on the external files, but have to use them(with permission). When I check the site using Google Pagespeed,...
garconcn's user avatar
  • 2,418
1 vote
1 answer
997 views

Benchmarks for server response time [closed]

I was testing my website’s performance on Google Page Speed and it mentioned the response time at It average between .6-.8 seconds. What’s the optimal server response time that’s acceptable? Is ...
Cherian's user avatar
  • 791
1 vote
0 answers
181 views

I am trying to get centOS pagespeed apache2 module to run with SSL but it doesn't seem to be working

I have installed pagespeed module for httpd on centOS, finally I got it to work with http, but I still haven't managed to get it directing for ssl's, I've added the ssl cert dir path and .pem path, ...
ireply's user avatar
  • 11
1 vote
0 answers
921 views

Nginx stops responding after a while. Possible pagespeed fault?

If anyone could please help me out with this issue, I'd be VERY grateful! Running EasyEngine with nginx/1.8.0 and PageSpeed 1.9.32.4-7251. Almost every day, after a certain time I assume, the website ...
Mr. Silens's user avatar
1 vote
0 answers
361 views

mod_pagespeed css shown render blocking?

I've already found this topic concerning my problem and figured out Google is about to discuss a fix of the blocking js. However, could somebody please check out my client's site squarecard.de with ...
Niklas Beinghaus's user avatar
1 vote
0 answers
119 views

only declaration of mod_deflate lost 400-600 ms on TTFB

I would like to get to my site 100 score on google page speed and I only have the problem of TTFB in a few pages, a few pages in my TTFB is 400-600 ms. Now I noticed a problem if I disable gzip ...
themich's user avatar
  • 11
1 vote
1 answer
57 views

Force ngx_pagespeed to use png8

I used ngx_pagespeed to optimize my web server with Nginx. One of the servers is an image reverse proxy that supposed to fetch images from a remote server, optimize it, and send back to the client. ...
Andy's user avatar
  • 161
1 vote
0 answers
888 views

Apache mod-pagespeed installation affects mod-spdy?

Recently my site (an https connection, running on an Amazon EC2 ubuntu apache2.2) has this issue where I need to load the page several times (3-4) before it will load normally without issue. It will ...
tim peterson's user avatar
0 votes
2 answers
3k views

Google Page Speed message: https://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js (1 hour)

Google Page Speed is telling me to leverage browser caching for only this object: https://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js (1 hour) As this is being delivered from an external ...
Techboy's user avatar
  • 1,582
0 votes
2 answers
664 views

Very high First Byte Time

A client of mine which I will be completely re-building the site for, is having some major speed issues with the current site. It takes on average 4.4 to 4.8 seconds before the First Byte Time to ...
wharfdale's user avatar
  • 151
0 votes
1 answer
281 views

Keep-Alive in Headers

On my server we have mod_headers.c enabled. I'm using the below code to enable Keep-Alive <IfModule mod_headers.c> Header set Connection keep-alive </IfModule> Is there any reason ...
Shane Jones's user avatar
0 votes
1 answer
88 views

uk vps server route to thailand? [closed]

I'm just a Javascript developer using node.js... My host has got me a vps sever in england. I have had someone test my site loading in england and it is lightning fast. I've also had someone test in ...
Ben Muircroft's user avatar
0 votes
1 answer
2k views

serving static file from cookieless domain: alternative cookieless directory

I'm trying to follow all the guidelines of "Google Page Speed​​". The directive "Minimize request overhead" requires static content (images, js, css, etc.) on a static server (ie cookieless): https://...
Simone Nigro's user avatar
0 votes
1 answer
125 views

How do I start using my custom nginx built from source?

I needed to add ngx_pagespeed module to my nginx server. I followed an automated install as descriped here: https://www.modpagespeed.com/doc/build_ngx_pagespeed_from_source This downloaded and built ...
geochanto's user avatar
  • 159
0 votes
1 answer
740 views

Website disk space and loading speed

I was wondering if the loading speed of my website is affected by my disk space. For example, my current used disk space is 5GB and most of my files are videos which users can only download. If my ...
joepr's user avatar
  • 11
0 votes
1 answer
756 views

Unable to start new nginx binary installed with ngx_pagespped

I wanted to set up nginx with the ngx_pagepeed module. Since I already had nginx set up on my server I removed it before compiling it again using the following commands. sudo apt-get remove --purge ...
Yin Yang's user avatar
  • 273
0 votes
1 answer
489 views

Apache2 Serverload / CPU increase from 1% up to 90% - How to debug?

I´m using: Google Cloud Compute Engine Linux Debian + Apache2 Google Cloud SQL Wordpress Yesterday my CPU started increasing from 1-5% to 80-90%. I was developing on a wordpress site as it ...
MCG's user avatar
  • 101
0 votes
1 answer
1k views

How to cache particular file in folder using .htaccess

i tried google and found one solution at 'https://webmasters.stackexchange.com/questions/24881/cache-a-particular-image-using-htaccess' but it cache all the file of folder, i want to cache only ...
JK Patel's user avatar
  • 103
0 votes
1 answer
450 views

Can I use the Nginx PageSpeed module together with SSI?

Is it possible to use the Nginx PageSpeed module together with SSI? I can't get SSI up and running when PageSpeed is enabled. But as soon as I disable PageSpeed, SSI works again: location ~ .+\....
czerasz's user avatar
  • 587
0 votes
1 answer
67 views

Is the website directory path length important for server operations speed in any sense?

I'm using a website and I do lots of operations (its a basis for mobile app). If I place the website in a long path directory of the server will that slow down the operations in any sense? I mean ...
SaintJob 2.0's user avatar
0 votes
1 answer
63 views

how to determine problems with page load [closed]

Im hosting a website in a shared hosting environment. i think im pretty decent coder. I have done every possible way to improve my page performance including caching and gzipping the content. Still my ...
user1400532's user avatar
0 votes
1 answer
75 views

Please help me select a webserver configuration [duplicate]

Possible Duplicate: Please help me select a webserver configuration I have a website, which has grown from 10 visits per day, to 100 per day in couple of months, and now to about 800 unique ...
user avatar
0 votes
1 answer
870 views

Gap in Waterfall Loadtime test

When I test my wordpress websites with GTmetrix oder other Loadtime Testing tools I notice a gap in the Waterfall graph where no action is taking place. It looks like the time this gap is lost which ...
Mtm Project's user avatar
0 votes
1 answer
34 views

Page load time vs tcptraceroute

I'm a project manager working with complicated web application which is placed on 3 different clusters(servers) in different parts of the  world. On every cluster the code is the same. But Google ...
Pasha's user avatar
  • 3
0 votes
0 answers
140 views

NGINX Performance

I have moved my website on a bundle NGINX+PHP-FPM. This all works good, but I have noticed one performance issue. It's delay when I'm asking file via HTTPS. For example: I created blank PHP file () ...
Dmitry Ivanov's user avatar