Created
June 2, 2017 21:47
-
-
Save thesaurabhk/2b4156fa1004c3ab20b36088ef3c8b56 to your computer and use it in GitHub Desktop.
Enable mod_pagespeed https://technumero.com/increase-page-speed-using-htaccess-wordpress/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Paste the following code into your .Htaccess file | |
# | |
# TN – ENABLE MOD PAGESPEED START | |
# COMBINE CSS, COMPRESS IMAGES, REMOVE HTML WHITE SPACE AND COMMENTS | |
<IfModule pagespeed_module> | |
ModPagespeed on | |
ModPagespeedEnableFilters rewrite_css,combine_css | |
ModPagespeedEnableFilters recompress_images | |
ModPagespeedEnableFilters convert_png_to_jpeg,convert_jpeg_to_webp | |
ModPagespeedEnableFilters collapse_whitespace,remove_comments | |
</IfModule> | |
# TN – ENABLE MOD PAGESPEED END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment