Skip to content

Instantly share code, notes, and snippets.

@faceleg
Last active December 15, 2015 12:09
Show Gist options
  • Save faceleg/5258513 to your computer and use it in GitHub Desktop.
Save faceleg/5258513 to your computer and use it in GitHub Desktop.
Example mod_pagespeed configuration
ModPagespeed on
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
ModPagespeedFileCachePath "/var/mod_pagespeed/www.website.com/cache/"
ModPagespeedGeneratedFilePrefix "/var/mod_pagespeed/www.website.com/cache/"
ModPagespeedEnableFilters combine_css,rewrite_css,inline_css
ModPagespeedEnableFilters combine_javascript,rewrite_javascript,inline_javascript
ModPagespeedEnableFilters extend_cache
ModPagespeedEnableFilters inline_images,recompress_images,resize_images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment