Skip to content

Instantly share code, notes, and snippets.

@marcoroest87
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcoroest87/1fafc9ad2a2e281ad42e to your computer and use it in GitHub Desktop.
Save marcoroest87/1fafc9ad2a2e281ad42e to your computer and use it in GitHub Desktop.
pagespeed on;
location ~ "^/pagespeed_static/" { }
location ~ "^/ngx_pagespeed_beacon$" { }
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
add_header "" "";
}
pagespeed AvoidRenamingIntrospectiveJavascript on;
pagespeed LRUCacheKbPerProcess 8192;
pagespeed LRUCacheByteLimit 16384;
pagespeed RewriteLevel PassThrough;
pagespeed Domain https://demo.hypershop.nl;
pagespeed FetchHttps enable,allow_self_signed,allow_unknown_certificate_authority,allow_certificate_not_yet_valid;
pagespeed ImplicitCacheTtlMs 31536000000;
pagespeed EnableFilters rewrite_images,extend_cache,insert_dns_prefetch,remove_comments,collapse_whitespace;
pagespeed EnableFilters lazyload_images;
pagespeed SslCertDirectory /etc/nginx/ssl;
pagespeed SslCertFile /etc/nginx/ssl/www.hypershop.nl_bundle.crt;
pagespeed CriticalImagesBeaconEnabled false;
pagespeed JsInlineMaxBytes 8096;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment