next problem:
- first opportunity of Google PageSpeed Insights is:
Journal3 has option to convert "on fly" all images to webp format. converted images stored in image cache.
but Safari not support webp image format and Journal3 dynamic detect Safari and use for it originally jpg(png) images.
and when enable LSCache all pages in Safari with no images
is the way to make separate cache for Safari(and others browsers) with no webp support?
[UPDATE]
solution found.
LSCache 2.1.0 solve problem
and also you can try these rewrite rules in .htaccess
[/UPDATE]
- first opportunity of Google PageSpeed Insights is:
Serve images in next-gen formats
Image formats like JPEG 2000, JPEG XR, and WebP often provide better compression than PNG or JPEG, which means faster downloads and less data consumption.
Image formats like JPEG 2000, JPEG XR, and WebP often provide better compression than PNG or JPEG, which means faster downloads and less data consumption.
Journal3 has option to convert "on fly" all images to webp format. converted images stored in image cache.
but Safari not support webp image format and Journal3 dynamic detect Safari and use for it originally jpg(png) images.
and when enable LSCache all pages in Safari with no images
is the way to make separate cache for Safari(and others browsers) with no webp support?
[UPDATE]
solution found.
LSCache 2.1.0 solve problem
and also you can try these rewrite rules in .htaccess
Code:
### LITESPEED_CACHE_START - Do not remove this line
<IfModule LiteSpeed>
CacheLookup on
## Uncomment the following directives if you has a separate mobile view
RewriteEngine On
## Uncomment the following directives if you has a separate Safari browser view
RewriteCond %{HTTP_USER_AGENT} Macintosh [NC]
RewriteRule .* - [E=Cache-Control:vary=isMac]
RewriteCond %{HTTP_USER_AGENT} "iPhone|iPad|Petal" [NC]
RewriteRule .* - [E=Cache-Control:vary=ismobileapple]
RewriteCond %{HTTP_USER_AGENT} "bot|yandeximages|cfnetwork|favicon|facebook" [NC]
RewriteCond %{HTTP_USER_AGENT} !Chrome [NC]
RewriteCond %{HTTP_USER_AGENT} !Mobile [NC]
RewriteCond %{HTTP_USER_AGENT} !Macintosh [NC]
RewriteRule .* - [E=Cache-Control:vary=isBot]
RewriteCond %{HTTP_USER_AGENT} Android [NC]
RewriteCond %{HTTP_USER_AGENT} "Chrome|Firefox|Opera|OPR" [NC]
RewriteCond %{HTTP_USER_AGENT} !Bot [NC]
RewriteRule .* - [E=Cache-Control:vary=ismobile]
RewriteCond %{HTTP_USER_AGENT} Android [NC]
RewriteCond %{HTTP_USER_AGENT} Chrome [NC]
RewriteCond %{HTTP_USER_AGENT} Bot [NC]
RewriteRule .* - [E=Cache-Control:vary=ismobilebot]
</IfModule>
they must be placed BEFORE Opencart SEO rewrite rules
### LITESPEED_CACHE_END
[/UPDATE]
Last edited: