iusmanswift
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
This is the actual code:
Above is modified:RewriteRule .*- [E=esi_on:1] RewriteRule .* - [E=cache-control:max-age=5]<IfModule LiteSpeed> CacheEnable public RewriteEngine On RewriteRule ^/esi/ - [E=esi_on:1] RewriteRule ^/esi/ - [E=cache-control:max-age=5] RewriteCond %{REQUEST_METHOD} ^GET|HEAD$ RewriteCond %{HTTP_HOST} ^newsangels.com [NC] RewriteCond %{REQUEST_URI} !login|admin|register|cron|manra RewriteCond %{QUERY_STRING} !s RewriteCond %{HTTP_COOKIE} !wordpress_logged_in RewriteRule .* - [E=Cache-Control:max-age=3600] RewriteRule favicon\.ico$ - [E=cache-control:max-age=2592000] RewriteRule ^min/\w+\.(css|js) - [E=cache-control:no-vary] RewriteRule ^wp\-content/.*/[^/]*(fonts|ico|css|js|jpg|jpeg|png|svg|gif|swf|webp|woff|woff2|ttf|otf|eot|txt)\.php - [E=cache-control:max-age=2592000] RewriteRule ^\.*/[^/]*(fonts|ico|css|js|jpg|jpeg|png|svg|gif|swf|webp|woff|woff2|ttf|otf|eot|txt)$ - [E=cache-control:max-age=2592000] RewriteCond %{REQUEST_METHOD} ^GET|HEAD$ RewriteCond %{HTTP_USER_AGENT} "iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|Android|Opera Mini" - [E=Cache-Control:vary=ismobile] RewriteRule .* - [E=Cache-Control:max-age=3600] </IfModule>I’m using default settings…
Default settings take more time to load…
When I turn off all kind of css, js settings, It loads a little bit fast then…
But, still it is slow than the code which i use instead of this plugin,….
Problem is that, I’m not able to use esi…
When I set put esi code in Newspaper X theme code pages, those blocks break…
i.e changing code like [flex_block_4] to [esi flex_block_4] will break the code to work and it will show code on page instead of rendering the block…
Viewing 3 replies - 1 through 3 (of 3 total)