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.

PageSpeed Module

PageSpeed 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.

Features

  1. Automatic website and asset optimization
  2. Latest web optimization techniques
  3. 40+ configurable optimization filters
  4. Free, open-source, and frequently updated
  5. Deployed by individual sites, hosting providers, CDNs

for more details https://developers.google.com/speed/pagespeed/module

71 questions
1
vote
0 answers

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 removal or anything that would be obvious. How on…
Designer023
  • 193
  • 1
  • 1
  • 8
1
vote
1 answer

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 all variation of our domains,…
Ivan
  • 195
  • 1
  • 2
  • 8
1
vote
1 answer

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 213.239.220.106] ModSecurity: Warning. Match of "rx…
rubo77
  • 2,469
  • 4
  • 34
  • 66
1
vote
2 answers

mod_page speed dependencies issue

Before I go any further, mod pagespeed is asking for following dependencies. Is there anything I should check before I go further. Im worred because, I have a apache2.2.22 but its asking for apache2.2-common. dpkg: dependency problems prevent…
madphp
  • 379
  • 3
  • 12
1
vote
1 answer

Apache mod_pagespeed just on */forum/

Is it possible to configure mod_pagespeed just on a part of the website? I have a site.com/forum/ and would like to use mod_pagespeed just on the /forum/ pages.
Tessália
  • 11
  • 1
1
vote
2 answers

Flush mod_pagespeed cache in Debian

I need a way to flush the mod_pagespeed cache while developing. According to mod_pagespeed documents, I should run the following command: sudo touch /var/mod_pagespeed/cache/cache.flush In Debian it's "su" instead of "sudo". However, it doesn't…
Ivar
  • 121
  • 1
  • 6
1
vote
2 answers

Experiencing Delayed Updating of Front-end Code Using Google mod_pagespeed on Centos 5.X VPS

I am using Google's mod_page speed with Apache on Centos 5.X VPS (I'm not 100% sure on the exact Centos version, but I know it's in the 5 series.) I am hosting numerous WordPress websites with W3 Total Cache, all of which have the latest version of…
Michael Ecklund
  • 251
  • 2
  • 5
  • 13
1
vote
0 answers

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 then load normally as long as I keep loading pages…
tim peterson
  • 693
  • 2
  • 9
  • 18
1
vote
1 answer

mod_pagespeed drops headers

I have installed mod_pagespeed in Apache. It drops header X-UA-Compatible. When I turned of mod_pagespeed X-UA-Compatible appear in headers. Have anyone idea how to disable this in mod_pagespeed? My .htaccess file: Header…
kuboslav
  • 111
  • 2
1
vote
1 answer

Nginx error logs: what does "pagespeed: rollback gzip, explicit configuration in /etc/nginx/nginx.conf:151" mean, and how can I fix it to use brotli?

I am running an Ubuntu 20.04 LEMP server with the pagespeed and brotli module for Nginx. In my /var/log/nginx/error.log I am seeing the following error: 2023/02/23 07:34:49 [info] 1553667#1553667: [ngx_pagespeed 1.15.0.0-8811] No threading detected.…
DanRan
  • 73
  • 1
  • 3
  • 22
1
vote
1 answer

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 ERR_HTTP2_PROTOCOL_ERROR. Initially I thought that it's W3 Total Cache…
user64675
  • 91
  • 1
  • 2
  • 8
0
votes
1 answer

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:…
geochanto
  • 157
  • 1
  • 9
0
votes
1 answer

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 latest Nginx version 1.17.4 with ngx_pagespeed…
geochanto
  • 157
  • 1
  • 9
0
votes
0 answers

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 website on HTTPS ex: https://example.com Sometimes it…
Suntzu
  • 11
  • 4
0
votes
1 answer

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. When using the "?PageSpeedFilters=debug" url…
Shovas
  • 263
  • 2
  • 11