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 [mod-pagespeed]

PageSpeed Module speeds up your site and reduces page load time. This open-source webserver module automatically applies web performance best practices to pages and associated assets (CSS, JavaScript, images) without requiring that you modify your existing content or workflow.

0
votes
0answers
39 views

NGINX Occasionally Serving Wrong Block

I am having the strangest problem in the world and it's only been recently... I also think that it may have something to do with the Pagespeed module, but I can't be sure. Anyway when I curl my ...
0
votes
1answer
26 views

Mod_pagespeed thinks everything is uncacheable on https

I have a pretty stock setup of mod_pagespeed on a stock CentOS6 with stock Apache 2.2. All I do is set "ModPagespeed on" in the VirtualHost. I can see the "-Mod-Pagespeed 1.13.35.2-0" http header....
0
votes
0answers
38 views

Compilation Error : Nginx with pagespeed,http2,brotli and mod security

After searching for whole internet i didnt found anything on how to build all these together , there are tutorials for individual but not together so i tried on my own. Error : .........................
1
vote
0answers
28 views

Does mod_pagespeed use Elacticache Cluster Client? Or do we have to manually keep a list of nodes?

I've searched a lot for this, but couldn't find anything. The documentation (https://www.modpagespeed.com/doc/system#memcached) also does not specify anything regarding the same. I'm using ...
1
vote
1answer
576 views

Nginx cache-control / expire headers will just not work

I've searched everywhere for a working answer to this issue, but none of the answers seem to work. I'm also sorry for the super long post but I just need to ask for help on this. I've tried to be as ...
0
votes
0answers
24 views

Mod-pagespeed ssl path

When cofiguring mod-pagespeed from google i can not get clear what path i should use for the ssl folder. I can’t find a example for Let’s Encrypt. The standard config is: The locations of SSL ...
0
votes
0answers
33 views

Installing ngx_pagespeed error

I am trying to install ngx_pagespeed to fresh AWS Ec2 Amazon Linux AMI but I get this below error.I don't understand what the error saids. # bash <(curl -f -L -sS https://ngxpagespeed.com/install) ...
1
vote
0answers
155 views

Nginx pagespeed cache error

my nginx server is running with pagespeed but every day I have some problems with cache. The problem is that after some time the scripts loaded in my site returns 404 error. When i look into the cache ...
0
votes
0answers
106 views

CDN for multiple domains with mod_pagespeed (Apache)

I have a vps server with multiple sites and I have a cdn that is accessible by: example.gocache.com All of these sites are enabled to use this CDN however, I wanted mod_pagespeed to automatically ...
1
vote
1answer
277 views

mod_pagespeed setup for SSL offloading

On our Apache web server cluster, we have mod_pagespeed setup with memcached and domain sharding to cookieless domain. Our web servers sits behind a loadbalancer with non-sticky sessions, and SSL ...
1
vote
1answer
266 views

Nginx installed twice while trying to install google pagespeed

I am not an expert in linux/ubuntu.. just know the absolute basics following whatever I've read on stackoverflow. I was trying to install pagespeed (upon nginx) on my EC2 server following the steps ...
-1
votes
1answer
671 views

How to disable mod_pagespeed without having to reboot server?

I have a centos 7 with mod_pagespeed installed, and whenever I want to disable mod_pagespeed momentarily I go to /root/rpmbuild/BUILD/etc/httpd/conf.d/pagespeed.conf and set below line to off <...
0
votes
1answer
320 views

Disable PageSpeed on htm/html files

I'm experiencing the issue described here. Some .htm/.html files show up as blank when pagespeed is enabled. Seems to be no solution right now other than disabling Pagespeed processing .htm/.html ...
0
votes
0answers
218 views

mod_pagespeed for CDN subdomain

I have an debian based VPS server using apache to server wordpress website. I've used mod_pagespeed module for few years now and I was very satisfied. Now I tried to make self hosted CDN with w3tc for ...
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, ...
0
votes
1answer
654 views

ngx_pagespeed prioritize_critical_css still render-blocking

I'm using ngx_pagespeed to prioritize critcal css, to avoid render-blocking: pagespeed EnableFilters prioritize_critical_css; The CSS in the page gets rewritten. I see inlined CSS in the head and ...
1
vote
0answers
808 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 ...
1
vote
1answer
511 views

How to completely remove Mod Pagespeed from Ubuntu 16.04

I have previously installed mod pagespeed on my apache2 but because it doesn't feels like the way I want it.. website ends up slower than I want it to be, I end up remove it using apt-get autoremove. ...
0
votes
2answers
776 views

cache-control when using mod_cache and mod_pagespeed

I'm using mod_pagespeed with mod_cache. When mod_pagespeed is off and mod_cache is off I see the following header: cache-control:public,max-age=7200,must-revalidate When mod_pagespeed is on and ...
0
votes
1answer
1k views

mod_pagespeed : install earlier version compatible with libc6 2.13 (Debian Wheezy)

Might be a stupid question, but how can I get an _amd64.deb package version of a mod_pagespeed release prior to the current stable/beta versions - i.e. release 1.11.33.0-beta - https://github.com/...
1
vote
1answer
1k views

html5 video tag cache

We run a pretty vanilla Centos 7 LAMP server ( Apache 2.4 with mod_pagespeed PHP 5.6, MariaDB 5.5 ), and recently started embedding html5 videos on the background of some pages as per code: <video ...
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 ...
-3
votes
1answer
4k views

Why isn't Apache reporting HTTPS to PHP?

Problem Apache isn't reporting HTTPS in the $_SERVER variable of PHP. Certificate is correctly configured according to sslcheck.nl and the website redirects every HTTP request to the HTTPS equivalent....
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 ...
0
votes
1answer
94 views

Nginx Server stopped working after installing ngx-pagespeed mod

I had NGINX running fine on my local machine and tried to install the Google Page Speed module by first uninstalling nginx and following the re-installing from source as Google suggests. Now NGINX ...
1
vote
1answer
1k views

Recommended config for pagespeed reverse proxy server with apache

I'd like to setup server to use pagespeed reverse proxy server with apache for several sites which cannot run pagespeed on their origin. It seems I should be able to create a VirtualHost for each site ...
3
votes
0answers
182 views

Optimal server stack for Wordpress [closed]

There are numerous tutorials/articles(some even with benchmarks) on how to create an optimized stack to run Wordpress(or any dynamic site, for that matter). The site doesn't get frequently updated(...
6
votes
1answer
2k views

How to get Mod_pagespeed to output compressed (gzip) css?

Ubuntu 14.04 Apache 2.4.7 php-FPM 5.5.9 Using latest stable Pagespeed Module for Apache (1.9.32.3-4448). I'm in the process of optimizing a WordPress website for speed (bandwidth and rendering). ...
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. ...
0
votes
2answers
382 views

OPcache breaks phpBB registration

I don't know what happended, but whenever a user tries to register himself on one of my phpBB forums nginx throws 502 Bad gateway, but if I disable OPcache everything works fine. This is the error ...
2
votes
1answer
5k views

Nginx Pagespeed does not Combine or Minify JS or CSS

I am using Mod_Pagespeed Filters for Nginx and the combine and minify javascipt or css is not working. I checked everything and could not find the reason: 1) There are no errors in the error log 2) ...
-3
votes
1answer
2k views

nginx restart fails: [emerg] directive “pagespeed” is not terminated by “;” in /etc/nginx/vhosts.d/name.d/pagespeed.conf:14 nginx [closed]

attempted to restart nginx to get this: [emerg] directive "pagespeed" is not terminated by ";" in /etc/nginx/vhosts.d/appname.d/pagespeed.conf:14 nginx. pagespeed.conf: pagespeed Domain domain.com ...
0
votes
2answers
328 views

Mod-Pagespeed dropping headers

I'm using 1.6.29.7-3343 for css and images with Apache 2.2.15 (Unix) on RHEL 6. My pagespeed.conf config is here: https://gist.github.com/jhirbour/a66b0efe58c8d109b90e As part of our PCI our ...
-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....
2
votes
1answer
3k views

How to make varnish 4.0 work with nginx and pagespeed

I am trying to setup Varnish 4 + Nginx with mod_pagespeed. I am using the following config for Varnish 4 as per this document : https://developers.google.com/speed/pagespeed/module/downstream-...
1
vote
3answers
5k views

Errors when Compiling Nginx with Pagespeed on CentOS 7

I am trying to compile Nginx with Pagespeed from source and I am having a hard time trying to resolve the not found errors I am seeing when I add the configure settings. This is my configure settings: ...
1
vote
1answer
665 views

How to upgrade ngx_pagespeed in production server?

I have a LEMP set-up in CentOS 7. I am planning to install the ngx_pagespeed module to it. When I was reading through the docs I came to realise that unlike Apache, I cannot install this module ...
1
vote
0answers
199 views

Django wsgi and mod_pagespeed not working

I installed mod_pagespeed on my server and it's working as far as the page header is concerned: X-Mod-Pagespeed:1.7.30.5-3847 The problem is that it's doing nothing else. No whitespace or comment ...
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
2answers
5k views

Adding PageSpeed Module to installed nginx

I like to add the Google PageSpeed Module to my nginx webserver on Ubuntu. This link gives a simple overview https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source?hl=de ...
0
votes
1answer
354 views

pagespeed cleanup performance issue

I configured pagespeed to cache js and css files to improve server performance. But sometimes server loads and performance lag is quite visible. So want to tune pagespeed. I increased pagespeed's ...
1
vote
1answer
343 views

mod_pagespeed ModPagespeedLoadFromFile ReGex not working

I have following directive in MPS config: ModPagespeedLoadFromFile "^https?://www.(e|i)zi?aro(v|w)k(y|i).(cz|sk|pl)/static/" "/var/www/eZarovky/production/public/static/" This RegExp should match ...
0
votes
1answer
842 views

mod_pagespeed not inserting image dimensions

I've added the following: ModPagespeed on ModPagespeedEnableFilters insert_image_dimensions However, my image still appears as follows: <img alt="WordPress" src="wp-admin/images/wordpress-logo....
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 ...
-1
votes
2answers
2k views

Unable to access PageSpeed console installed alongside WordPress; getting 503 error and 'LimitInternalRecursion' error

On a CentOS 6 web server with Wordpress installed in /var/www/html/wordpress, and using PageSpeed for caching, I cannot access the /pagespeed_console through the web browser. I only get a 503 error. ...
1
vote
1answer
1k views

Apache Error - child process [xxx] still did not exit, sending a SIGTERM & ServerContext: 1 leaked_rewrite_drivers on destruction

I have many error log entries called ServerContext: 1 leaked_rewrite_drivers on destruction AND child process 10494 still did not exit, sending a SIGTERM does anyone has any idea on how to fix ...
-3
votes
1answer
755 views

What does mod_pagespeed exactly do? [closed]

I happen to see in my apache log files that my server is getting hit by a specific IP address. and all the pages that are requested from this IP address has an entry in the apache file as xxx.xxx....
1
vote
1answer
1k views

How do I handle apache2 modsecurity2 warnings like Match of “rx ^OPTIONS$” against “REQUEST_METHOD” required?

After upgrade from squeeze to wheezy I get loads of these messages in my apache errorlog when I open a webpage on myserver, (changed to myserver.de here): [Sat Oct 19 01:06:21 2013] [error] [client ...
3
votes
2answers
3k views

Remove “X-Page-Speed” version from headers in ngx_pagespeed

I have compiled ngx_pagespeed, but forgot to remove the version number. Is there any way to overwrite/delete/hide them? Apache has feature to 'unset' them, but I couldn't find anything similar for ...