Created
December 1, 2016 02:09
-
-
Save Kaiderella/a6b9044a871cc84adf9cffc149818fea to your computer and use it in GitHub Desktop.
Kích hoạt LiteSpeed Cache bằng file .htaccess
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