Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
2answers
267 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....
0
votes
1answer
82 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 ...
0
votes
1answer
338 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 ...
0
votes
1answer
92 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 ...
1
vote
0answers
91 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, ...
1
vote
0answers
807 views

nginx: [emerg] “return” directive FileCachePath must be set in /usr/local/nginx/conf/nginx.conf:64

When I enable Pagespeed Module with pagespeed on; in my vHost (without pagespeed enabled works good), it gives me this error: ubuntu@ireland:/etc/nginx/sites-available$ sudo service nginx restart Job ...
0
votes
1answer
28 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 ...
0
votes
0answers
95 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 () ...
2
votes
0answers
275 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 ...
0
votes
1answer
478 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 ...
0
votes
0answers
676 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 ...
2
votes
1answer
1k 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 ...
0
votes
2answers
983 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 ...
0
votes
1answer
82 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 ...
1
vote
0answers
431 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 ...
6
votes
2answers
6k 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 ...
5
votes
1answer
1k 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; ...
1
vote
0answers
282 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 ...
-2
votes
2answers
883 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 ...
1
vote
0answers
75 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 ...
1
vote
1answer
741 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 ...
2
votes
0answers
1k 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. ...
2
votes
0answers
369 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 ...
0
votes
1answer
398 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 ...
-3
votes
1answer
322 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....
1
vote
1answer
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 ...
-2
votes
1answer
48 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 ...
-2
votes
2answers
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....
0
votes
1answer
837 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 ...
1
vote
2answers
416 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 ...
0
votes
2answers
529 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 ...
-1
votes
1answer
1k 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. ...
0
votes
1answer
367 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 ~ .+\....
1
vote
3answers
2k 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/...
1
vote
2answers
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....
0
votes
0answers
1k 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; ...
2
votes
1answer
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 ...
0
votes
1answer
66 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 ...
1
vote
1answer
46 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. ...
2
votes
1answer
396 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 ...
0
votes
1answer
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://...
13
votes
3answers
11k 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 ...
1
vote
2answers
561 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 ...
5
votes
1answer
13k 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,...
6
votes
0answers
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 ...
0
votes
1answer
63 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 ...
2
votes
2answers
2k 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)...
2
votes
1answer
1k 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....
1
vote
1answer
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,...
0
votes
1answer
61 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 ...