Skip to content

Instantly share code, notes, and snippets.

@scottrobertson
Created July 22, 2013 20:30
Show Gist options
  • Save scottrobertson/6057371 to your computer and use it in GitHub Desktop.
Save scottrobertson/6057371 to your computer and use it in GitHub Desktop.
/etc/apache2/mods-available/pagespeed.conf
The ones i decided to enable where the following:
ModPagespeedEnableFilters inline_preview_images # Load low quality images before loading high quality ones
ModPagespeedEnableFilters resize_images # Resize the images before serving them (These are then cached in Varnish)
ModPagespeedEnableFilters insert_image_dimensions # If any image does not have width, height set, then insert them
ModPagespeedEnableFilters combine_javascript # Combine javascript files into one file
ModPagespeedEnableFilters collapse_whitespace # Minify the HTML output of the page
ModPagespeedEnableFilters resize_mobile_images # Resize smaller images on mobile
ModPagespeedEnableFilters remove_comments # Remove comments from JS,CSS and HTML files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment