Skip to content

Instantly share code, notes, and snippets.

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