Created
June 11, 2017 13:32
-
-
Save leducson1/d35a8ac42799a7e852fe62fc98095055 to your computer and use it in GitHub Desktop.
code kích hoạt litespeed cache
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
<IfModule LiteSpeed> | |
CacheEnable public / | |
RewriteEngine on | |
RewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$ | |
RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-login.php|wp-cron.php) | |
RewriteRule .* - [E=Cache-Control:max-age=120] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment