LSCWP .htaccess file

Hedloff

Well-Known Member
#1
Hello,

We currently have cachelookup public turned off as default in our lsws and I guess most of your customers has the same. Especially for those that does provide LSCWP.

Is it possible for your plugin to check .htaccess file if there are any cachelookup public line from before and if not add it when your plugin is installed?

That would really help and make it easier for our customers to install the plugin and use it.

Today you add this code:

Code:
<IfModule LiteSpeed>
RewriteEngine on
###LSCACHE START RESOURCE###
RewriteRule wp-content/.*/(loader|fonts)\.php - [E=cache-control:max-age=3600]
###LSCACHE END RESOURCE###
###LSCACHE START FAVICON###
RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
###LSCACHE END FAVICON###
</IfModule>
How about adding:

Code:
<IfModule LiteSpeed>
CacheLookup public on
RewriteEngine on
###LSCACHE START RESOURCE###
RewriteRule wp-content/.*/(loader|fonts)\.php - [E=cache-control:max-age=3600]
###LSCACHE END RESOURCE###
###LSCACHE START FAVICON###
RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
###LSCACHE END FAVICON###
</IfModule>
That would help alot :)
 

KevinFwu

Administrator
Staff member
#2
Hi Hedloff,

It is already implemented for the next version :)

Need to fix a couple more things (one of which will probably be your other post), then testing! Anticipate a release probably next week.
 
Top