Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # BEGIN LSCACHE
- ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
- <IfModule LiteSpeed>
- RewriteEngine on
- CacheLookup on
- RewriteRule .* - [E=Cache-Control:no-autoflush]
- RewriteRule ^min/\w+\.(css|js) - [E=cache-control:no-vary]
- ### marker CACHE RESOURCE start ###
- RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
- ### marker CACHE RESOURCE end ###
- ### marker FAVICON start ###
- RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
- ### marker FAVICON end ###
- </IfModule>
- ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
- # END LSCACHE
- # BEGIN NON_LSCACHE
- ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
- ### marker MINIFY start ###
- <IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ^(.*)/min/(\w+)\.(css|js)$
- RewriteCond %1/wp-content/cache/$2/$1.$2 -f
- RewriteRule min/(\w+)\.(css|js) wp-content/cache/$2/$1.$2 [L]
- </IfModule>
- ### marker MINIFY end ###
- ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
- # END NON_LSCACHE
- # BEGIN WordPress
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- # END WordPress
- # BEGIN wtfdivi
- # END wtfdivi
- ## EXPIRES CACHING ##
- <IfModule mod_expires.c>
- ExpiresActive On
- ExpiresByType image/jpg "access 1 year"
- ExpiresByType image/jpeg "access 1 year"
- ExpiresByType image/gif "access 1 year"
- ExpiresByType image/png "access 1 year"
- ExpiresByType text/css "access 1 month"
- ExpiresByType application/pdf "access 1 month"
- ExpiresByType application/javascript "access 1 month"
- ExpiresByType application/x-javascript "access 1 month"
- ExpiresByType application/x-shockwave-flash "access 1 month"
- ExpiresByType image/x-icon "access 1 year"
- ExpiresDefault "access 2 days"
- </IfModule>
- ## END EXPIRES CACHING ##
- ## GZIP COMPRESSION ##
- <IfModule mod_deflate.c>
- AddOutputFilterByType DEFLATE text/plain
- AddOutputFilterByType DEFLATE text/html
- AddOutputFilterByType DEFLATE text/xml
- AddOutputFilterByType DEFLATE text/css
- AddOutputFilterByType DEFLATE application/xml
- AddOutputFilterByType DEFLATE application/xhtml+xml
- AddOutputFilterByType DEFLATE application/rss+xml
- AddOutputFilterByType DEFLATE application/javascript
- AddOutputFilterByType DEFLATE application/x-javascript
- </IfModule>
- ## END GZIP COMPRESSION ##
- ## ENABLE KEEP-ALIVE ##
- <IfModule mod_headers.c>
- Header set Connection keep-alive
- </IfModule>
- ## END ENABLE KEEP-ALIVE ##
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement