Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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