Skip to main content

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
0 votes
0 answers
44 views

PageSpeed not resizing WebP images

One of my clients wants to switch his images to WebP format, but after some testing I can't get PageSpeed to resize them like it does for other formats. Setup: Rocky Linux 9: Fresh minimal install ...
Deeh's user avatar
  • 581
0 votes
1 answer
150 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
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
0 votes
1 answer
848 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
872 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
304 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
1 vote
0 answers
186 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
0 votes
1 answer
35 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
144 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
2 votes
0 answers
489 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
0 votes
1 answer
763 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
0 answers
922 views

Reduce Connecting time to server for inital request

I am struggling with decreasing load time of inital html page request. It is consistently above 800 ms however other websites they load in less than 300 ms. In this load time GTMetrix shows more than ...
Abhinav's user avatar
  • 823
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
  • 823
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
0 votes
1 answer
116 views

Compiling nginx with ngx_pagespeed

I have build nginx with ngx_pagespeed module. Do I still need to keep the original ngx_pagespeed directory? When I use the compiled binary across multiple servers with mod_pagespeed on, I am getting ...
Aman's user avatar
  • 183
1 vote
0 answers
982 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
7 votes
2 answers
20k 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
1 vote
0 answers
362 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
-2 votes
2 answers
2k views

Is it normal to have 400~600ms of waiting for first byte? [closed]

I have optimized my website and apply many advices found on the Google search. but finally i have about 400~600ms of time to first byte. Does it normal or I can lower it? For dynamic data it it about ...
wtayyeb's user avatar
  • 174
1 vote
0 answers
120 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
1k 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
  • 779
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
396 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
0 votes
1 answer
490 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
-3 votes
1 answer
399 views

Strange folders in Pagespeed cache folder. Did I get hacked? [duplicate]

I have a Centos7 server with nginx and google pagespeed. I wanted to clear pagespeed cache for a reason but i saw lots of chinese site caches in my pagespeed cache folder like baidu.com, ly.com, oray....
Rasko's user avatar
  • 1
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
-2 votes
1 answer
55 views

How to check my site speed? [closed]

im the developer and in charge of a company's Wordpress based site our site started to run a lot slower recently and i am trying to figure it out for two weeks now! My main problem is that every ...
Joe's user avatar
  • 115
-2 votes
2 answers
1k views

Installing ngx_pagespeed with nginx 1.6.2 (Backport) on debian 7 (wheezy)

I am struggling to install nginx 1.6.2 with module ngx_pagespeed 1.9.32.1-beta Can anyone please help me to install this on my debian 7. Any working tutorial i have tried https://www.digitalocean....
paul Watson's user avatar
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
1 vote
2 answers
446 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
0 votes
2 answers
672 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
-1 votes
1 answer
2k views

pagespeed on apache with nginx as reverse proxy

I have a VPS and using the following stack: NGINX as front-end proxy on port 80. Also port 443 for SSL Apache on 8080 for dynamic content (mostly PHP) Now, I want to use PageSpeed module by Google. ...
Moin's user avatar
  • 3
0 votes
1 answer
453 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
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,758
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,174
0 votes
0 answers
2k views

How to get IIS to accept-encoding: gzip(gfe)

Google's PageSpeed Service forwards requests with the accept-encoding header set to gzip(gfe). Unfortunately IIS chokes on this with the following: HTTP/1.1 400 Bad Request Content-Type: text/html; ...
Nariman's user avatar
  • 229
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
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
1 vote
1 answer
59 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
2 votes
1 answer
493 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
  • 391
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
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
1 vote
2 answers
673 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
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
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
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
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
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
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,438