Hello,
I just tried mass enable lscache trough WHM (LiteSpeed Admin).
It seem to work just fine, but noticed that the .htaccess file (backup) had the same content as the new .htaccess file:
/home/ttesting/public_html/wptest# cat .htaccess
<IfModule Litespeed>
CacheLookup public on
</IfModule>
<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>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wptest/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wptest/index.php [L]
</IfModule>
# END WordPress
root@\:/home/ttesting/public_html/wptest# cat .htaccess_lscachebak
<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>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wptest/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wptest/index.php [L]
</IfModule>
# END WordPress
Why? Bug?
I just tried mass enable lscache trough WHM (LiteSpeed Admin).
It seem to work just fine, but noticed that the .htaccess file (backup) had the same content as the new .htaccess file:
/home/ttesting/public_html/wptest# cat .htaccess
<IfModule Litespeed>
CacheLookup public on
</IfModule>
<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>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wptest/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wptest/index.php [L]
</IfModule>
# END WordPress
root@\:/home/ttesting/public_html/wptest# cat .htaccess_lscachebak
<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>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wptest/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wptest/index.php [L]
</IfModule>
# END WordPress
Why? Bug?