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
1 answer

Google PageSpeed module: how to stop it to change the Cache-Control header on NGINX

I'm trying to stop Google's PageSpeed module to modify the Cache-Control header using nginx. Within Apache I'm able to stop it with these two instructions: ModPagespeedModifyCachingHeaders off ModPagespeedDisableFilters extend_cache Is there an…
Andrea
  • 15,900
  • 18
  • 65
  • 84
1
vote
1 answer

Manually create PageSpeed urls for thumbnailing or resizing ajax-loaded images

It is possible to force PageSpeed to generate an ajax-loaded image at a smaller sizes using a manually written pagespeed resource url as follows: Original image url: http://www.modpagespeed.com/images/Puzzle.jpg 100x100 thumbnail: (thumbnail is…
cronoklee
  • 6,482
  • 9
  • 52
  • 80
1
vote
0 answers

How to get mod_pagespeed to load and do stuff?

I've installed mod_pagespeed as per the instructions here on my Debian system, following the dpkg method. When I run a2enmod pagespeed, it says Module pagespeed already enabled. In /etc/apache2/modules-available, I can see pagespeed.conf, and…
Duncan Marshall
  • 530
  • 1
  • 6
  • 15
1
vote
2 answers

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 I look into adding pagespeed to Apache or to…
Milan Simek
  • 432
  • 4
  • 12
1
vote
1 answer

ob_flush not working on new apache configuration

I recently migrated from Amazon Elastic Beanstalk to my own ubuntu 14.04 lts server. Everything ported smoothly except one page that uses ob_flush and proceeds to do processing. Here is that block of code:
Jake Sylvestre
  • 936
  • 3
  • 14
  • 39
1
vote
0 answers

ModPagespeedEnableFilters insert_ga - inserting the tracking code with a condition if (window.parent == window)

ModPagespeedEnableFilters insert_ga - inserting the tracking code with a condition if (window.parent == window) Below is the Tracking code :