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.

Filter by
Sorted by
Tagged with
0
votes
0answers
38 views

Does mod_pagespeed PURGE downstream when its cache purges?

Does google mod_pagespeed send PURGE requests to configured downstream reverse proxies when an item in the mod_pagespeed cache is purged? I'm running Debian 10 with varnish 6 (a varnish 4.0 vcl) ...
0
votes
0answers
15 views

Is it worth to use Cloudflare with Mod_Pagespeed?

I'm running LEMP stack. (Ubuntu 18.04, Nginx 1.17.10, MySQL and PHP7.4). This server uses FastCGI cache and installed the Mod_PageSpeed and run 4 Wordpress sites. Apart from that, my sites use ...
0
votes
1answer
455 views

How to resolve ERR_HTTP2_PROTOCOL_ERROR for static files on a first page load (SSL + Pagespeed)?

I have a nginx HTTP2 + ngx_pagespeed + brotli + Wordpress W3 Total Cache setup. On a first page load some static files that were modified by the Pagespeed fail to load, giving a ...
0
votes
0answers
9 views

ngx_pagespeed not optimizing on AWS ubuntu 16.04 nginx/1.17.8

I've configured ngx_pagespeed as I usually do and it has worked everywhere else. But on this particular AWS instance it does not seem to be optimizing anything. I do get the expected response ...
0
votes
2answers
497 views

Nginx - enable download of multimedia file instead of streaming?

I am trying to enable multimedia (Mp3 and Mp4) file downloads on my newly setupped nginx/1.17.6 using HTTP2 server but the file started streaming instead of downloading. Here is my nginx.conf file: ...
0
votes
1answer
77 views

Unable to change options for ngx_pagespeed

I was able to successfully add ngx_pagespeed to my Nginx server at Digital Ocean. I did an automated install and rebuilt Nginx from source with the ngx_pagespeed module per this guide: https://www....
0
votes
1answer
48 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 ...
0
votes
0answers
39 views

Pagespeed unable to optimize part of website assists

I have nginx 1.16 with pagespeed 1.13.35.2-0. the issue is that pagepseed able to optimise images in main page but not other pages. with no error or suspicious logs. where any images exist under ...
0
votes
0answers
48 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
408 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....
1
vote
0answers
51 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
2k 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 ...
1
vote
0answers
265 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 ...
1
vote
1answer
423 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
318 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
1k 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
458 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 ...
1
vote
0answers
110 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
976 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 ...
2
votes
1answer
2k 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
1k 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
2k 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
2k 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 ...
1
vote
3answers
1k 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
97 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 ...
-2
votes
1answer
5k 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
316 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
104 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
2k 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
189 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. ...
1
vote
2answers
411 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
2answers
6k 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
402 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....
3
votes
1answer
4k 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
4answers
6k 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
690 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
213 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
399 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
6k 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
361 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
381 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
902 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
3k 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
3k 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
770 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....