Hi,
I have added following code in my htaccess
I want litespeed cache to exclude the urls in 2nd and 3rd lines. But its not excluding.
And the first line is trying to cache whole website. But i only want to cache response pages start with scripts/api.php?, Is there a way?
Need help.
I have added following code in my htaccess
Code:
RewriteRule ^(.*)$ - [E=Cache-Control:max-age=3600]
RewriteRule scripts/api.php?limit=48&action=previews&page=1&type=ico_v&category=0 - [E=Cache-Control:no-cache]
RewriteRule scripts/api.php?limit=18&action=previews&page=1&category=0&type=ico_v - [E=Cache-Control:no-cache]
And the first line is trying to cache whole website. But i only want to cache response pages start with scripts/api.php?, Is there a way?
Need help.
Last edited: