Questions tagged [mod-pagespeed]

The mod_pagespeed modules are open-source server modules that optimize your site automatically.

mod_pagespeed is an open-source module written by Google that automatically optimizes web pages and resources on them. It does this by rewriting the resources using filters that implement web performance best practices. Webmasters and web developers can use mod_pagespeed to improve the performance of their web pages when serving content from the server.

mod_pagespeed provides a pre-built binary package for HTTP server and a module for HTTP server.

mod_pagespeed includes several filter that optimize JavaScript, HTML and CSS stylesheets. It also includes filters for optimizing JPEG and PNG images. The filters are based on a set of best practices known to enhance web page performance. Webmasters who set up mod_pagespeed in addition to configuring proper caching and compression on their Apache distribution should expect to see an improvement in the loading time of the pages on their websites.

250 questions
1
vote
0 answers

mod_pagespeed many "Unrecognized Script" messages in the console

I am running mod_pagespeed (Apache) on my server and it is functioning great, apart from many "info level" messages in the admin console log. The site is currently scoring 94/89 on GTMetrix and I'm at the point of trying to squeeze that last bit of…
Forsh
  • 11
  • 2
1
vote
0 answers

running mod_pagespeed with different apache user for each vhost

I am using mpm_itk_module that allows me to specify a different user for each apache vhost: ServerName www.example1.com AssignUserId example1 example1
adrianTNT
  • 3,671
  • 5
  • 29
  • 35
1
vote
1 answer

How to fix Angular 8 Service Worker Hash mismatch errors when using server-side optimising packages (e.g. Pagespeed Module)

I get Hash mismatch errors Error(Hash mismatch (cacheBustedFetchFromNetwork) since I implemented a PageSpeed module which edits the files after the @angular/service-worker is created (great package by the way!). Is it possible to have these work…
1
vote
0 answers

Is it safe to delete inodes?

I am using google mod_pagespeed in Magento 1.9 and I have found what appears to be a very large collection of cache data from mod_pagespeed for this site found under: /var/cache/mod_pagespeed/v3/ /var/cache/mod_pagespeed/v3/ - has some 14million…
Bhakti Thakkar
  • 363
  • 3
  • 7
  • 16
1
vote
1 answer

How to disable webP optimization only

I have recently installed mod_pagepeed on my apache server. The problem now is that I have extensive caching and the optimization route to .webp creates massive loads of 404 errors regarding missing images. this is only visible on chrome, opera, and…
1
vote
1 answer

Serve images via Cloudfront while using mod_pagespeed with Apache

We have mod_pagespeed on Apache and filters like convert_jpeg_to_webp. We would however, also like to add CDN to the website, especially for the images and javascript files, in order to further enhance the performance and the Pagespeed score for…
zarun
  • 910
  • 9
  • 26
1
vote
0 answers

Page speed nginx server

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 directory I find a new file named !clean!time!,…
MarBer
  • 535
  • 1
  • 5
  • 22
1
vote
1 answer

Benefits of mod_pagespeed over mod_deflate

The SO post here explains what mod_pagespeed does, but I'm wondering if I would notice any significant difference in page load time with this installed on a server that is already using mod_deflate to compress files. If it is worth installing, are…
Nick W
  • 877
  • 2
  • 15
  • 30
1
vote
1 answer

google pagespeed ssl configuration

Having trouble setting up pagespeed on my nginx server for https website. On a normal http website, all images and resources are being cached by pagespeed, however when we switched the website to https, it says Cannot fetch url xxx: as https is not…
yohox3
  • 43
  • 6
1
vote
0 answers

missing pagespeed.conf file

I've used many different resources in an attempt to install mod_pagespeed on a CentOS WHM/cPanel server. Mostly this: https://github.com/pagespeed/cpanel All resources I've looked at suggest that after successful installation I should have a…
dan360
  • 361
  • 2
  • 16
1
vote
0 answers

Wordpress and mod_pagespeed – pagespeed CSS not found

I have Wordpress 4.8 with Shopkeeper 2.1 theme running on Apache 2.4, Debian 8. After turning on mod_pagespeed I got a strange problem, on first load in any browser my website looks like CSS is incomplete – which is right, I can see in inspector…
Demuri Celidze
  • 579
  • 2
  • 7
  • 25
1
vote
1 answer

Http2 need PageSpeed Module?

We use ubuntu 14.04 and nginx 1.6.2, Recently, in order to use http2, I upgrade our server from Ubuntu to 16.04, nginx to 1.10.0, and efficacy is very well. And I test to compile nginx with pagespeed module(1.11.33.4), and compare…
John
  • 387
  • 5
  • 17
1
vote
1 answer

mod_pagespeed outputs stats but does nothing

I can see output stats with mod_pagespeed but it does not seam to be doing anything (all stats values stay at 0). serf_fetch_request_count: 0 serf_fetch_bytes_count: 0 serf_fetch_time_duration_ms: 0 serf_fetch_cancel_count: 0 Anyone knows what can…
Frankie
  • 24,627
  • 10
  • 79
  • 121
1
vote
0 answers

Turn off Apache module when on a certain URL using htaccess

I'd like to turn off the pagespeed module for all resources when they're being loaded from a certain page using htaccess. For example, I want all CSS, images, and JavaScript to be loaded as is without being rewritten by the pagespeed module if the…
user4559334
  • 383
  • 4
  • 13
1
vote
0 answers

mod_pagespeed client denied by server configuration

I'm unable to find a solution for this problem and I already read all the relevant topics on here. I understand this is some problem with the Require directive in some Directory. But I don't have any "Require all denied" except for /, /var/www has…
matrix
  • 11
  • 4