Skip to content

Instantly share code, notes, and snippets.

@vinvin27
Created January 3, 2020 02:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinvin27/0b999fd861eaf75aa5e06ce6087e498f to your computer and use it in GitHub Desktop.
Save vinvin27/0b999fd861eaf75aa5e06ce6087e498f to your computer and use it in GitHub Desktop.
Module : PageSpeed Htaccess + d'information ici : https://www.vinvin.dev/activer-pagespeed-sur-o2switch-et-cpanel/
# o2switch pagespeed start / DO NOT REMOVE OR EDIT
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedRewriteLevel PassThrough
ModPagespeedEnableFilters add_head,make_show_ads_async,make_google_analytics_async,canonicalize_javascript_libraries,collapse_whitespace,combine_css,combine_javascript,combine_heads,convert_meta_tags,dedup_inlined_images,defer_javascript,elide_attributes,extend_cache,recompress_images,flatten_css_imports,hint_preload_subresources,inline_css,inline_javascript,lazyload_images,rewrite_javascript,move_css_above_scripts,move_css_to_head,insert_dns_prefetch,remove_comments,remove_quotes,rewrite_images,strip_image_meta_data,sprite_images
</IfModule>
# o2switch pagespeed end / DO NOT REMOVE OR EDIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment