From 8ad2b5a91f7702d269b0923fb46c66a77892eaa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ca=C5=82ka?= Date: Mon, 15 May 2023 22:01:08 +0200 Subject: [PATCH] docs: Update .htaccess code snippet --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f75797..74b6a36 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,18 @@ Requires a LiteSpeed Web Server or OpenLiteSpeed. composer require acpl/flarum-lscache:"*" ``` -#### You need to include this code in your `.htaccess` file: +#### You need to include this code snippet in your existing `.htaccess` file: ```apacheconf CacheLookup on + RewriteEngine On # Detection of logged-in user. RewriteCond %{REQUEST_METHOD} ^HEAD|GET$ RewriteRule .* - [E="Cache-Vary:flarum_remember,flarum_lscache_vary,locale"] ``` + You can also add your own rules. For more information, visit: [https://docs.litespeedtech.com/lscache/noplugin/settings/#rewrite-rules](https://docs.litespeedtech.com/lscache/noplugin/settings/#rewrite-rules)