Configuration

Example configuration:

# Base configuration for the module, all host-specific configuration # will inherit. pagespeed RewriteLevel CoreFilters # Mandatory FileCachePath setting. The path must exist and be read/write for the traffic_server process. pagespeed FileCachePath /tmp/ats_pagespeed/ # [host] [192.168.185.185] # Force traffic server to cache all origin responses override_expiry pagespeed FlushHtml on pagespeed RewriteLevel CoreFilters pagespeed EnableFilters rewrite_domains,trim_urls pagespeed MapRewriteDomain http://192.168.185.185 http://www.foo.com pagespeed MapOriginDomain http://192.168.185.185 http://www.foo.com pagespeed EnableFilters prioritize_critical_css,move_css_to_head, move_css_above_scripts pagespeed EnableFilters fallback_rewrite_css_urls,insert_img_dimensions, lazyload_images,local_storage_cache pagespeed EnableFilters prioritize_critical_css,rewrite_css pagespeed EnableFilters combine_javascript,combine_css

Full PageSpeed documentation is available on www.pagespeedguide.com