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
2
votes
0 answers

mod_pagespeed doesn't rewrite files when using with Nginx (reverse proxy) + Apache

I use Nginx as a Web Server and Reverse Proxy for Apache on Ubuntu 14.04 Server. The configuration looks exactly like this:…
2
votes
1 answer

mod_pagespeed with amazon S3

I have an EC2 server running apache (www.example.com) and mod_pagespeed is installed and working. I have static content hosted on an Amazon S3 bucket (examplecdn.com) When the html is served up from https://www.example.com, there are a couple of…
noctufaber
  • 764
  • 2
  • 10
  • 24
2
votes
1 answer

Webpage under mod_pagespeed won't load SVG image

few months ago I've installed Google's mod_pagespeed to my server. Everything worked as expected, but yesterday it stopped serve one SVG image and added some attributes to it's tag:…
2
votes
1 answer

Is it possible to change the base url in mod_pagespeed to use https

We are using Google PageSpeed module running on Apache, it is possible to configure it so that the base url uses https? It currently outputs the following.
2
votes
1 answer

mod_pagespeed - internal cache purge issue

I use mod_pagespeed on my Nginx-Webserver. When I try to test some of my pages with Google Pagespeed Insights(https://developers.google.com/speed/pagespeed/insights) there are: 1) Many errors shown the first time I do this, when the page is not…
mweber
  • 21
  • 1
2
votes
0 answers

mod_pagespeed does not compress, minify and optimize

I have enabled the filters below with Mod_pagespeed, but when tested via PageSpeed Insights it recommends to "Enable Compression" for css resources, to "Minify CSS" and to "Optimize CSS": ModPagespeedEnableFilters…
KenAdamsTR
  • 145
  • 1
  • 1
  • 9
2
votes
0 answers

How to avoid insert_image_dimensions only for certain tags

I wish to use ModPagespeedEnableFilters image_rewrite As well as: ModPagespeedEnableFilters insert_image_dimensions But there are certain img within my page where I didn't want the latter to be applied, while not losing the first. If I avoid the…
gcandal
  • 937
  • 8
  • 23
2
votes
1 answer

Wordpress Custom Theme has mod-pagespeed no defer 404 error on page reload

ISSUE: On page reload of a Wordpress 4.1 custom theme, I get the error "GET ... /%3Cscript%20pagespeed_no_defer= 404 (Not Found)" in my console, and on the web page it shows script. If I refresh a few more times, it goes away, then another refresh…
2
votes
1 answer

Optimizing Page Load: multiple CDN files or single CDN file?

I'm trying to optimize my page loads. Currently, I have multiple resources being pulled from various CDNs (e.g. jquery, etc.). In all, I have about 10 different JS files and 10 different CSS files. Around 50-75% are available on CDNs. When I run…
StackOverflowNewbie
  • 39,403
  • 111
  • 277
  • 441
2
votes
1 answer

Disable mod_pagespeed for specific IP

We would like to disable mod_pagespeed for our office as it can make administering image based content on sites frustrating no knowing which is the current version of an image. Does anyone know a way of disabling it for a specific IP ? I am aware of…
araresight
  • 19
  • 4
2
votes
1 answer

I am facing mod_pagespeed image rename issue while page optimization

i have mod_pagespeed implemented on my website. but it optimizes the images it changes the name to a very long file name. Can this hurt search engine optimization because i am getting good traffic from image search. Can this image rename prevented…
ujjawal
  • 95
  • 1
  • 11
2
votes
3 answers

WebP Image Filter for IIS server

I want to use WebP Image format for my site for image compression. However , while referring tot he docs provided by Google, i can only see support for apache and other server . But not for IIS server. My Site is hosted usign iis server, so i need…
Sangeeta
  • 164
  • 4
  • 16
2
votes
1 answer

Images not found when using load-balancer, mod_pagespeed, https and mounted disks

I've been having a problem since i installed mod_pagespeed across our LAMP servers and i can't seem to find an answer to it Set-up: Load balancer across 4 LAMP servers Mixture of http and https pages Product images are shared amongst the servers…
buffcoredave
  • 179
  • 1
  • 9
2
votes
2 answers

mod_pagespeed : Exclude some directory using htaccess

How can exclude some directory for mod_pagespeed using htaccess rules.... note : I am required to disable only some directory not all files and folders
Me7888
  • 1,191
  • 4
  • 17
  • 19
2
votes
1 answer

mod_pagespeed with multiple domains or subdomains

I was wondering about the usage of pagespeed with multiple domains or subdomain, and whether it works or not. I found some question here at SOF with similar things I want to achieve except that I want to do that with subdomains or multiple…
Digital site
  • 4,431
  • 12
  • 48
  • 72