Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:lscwp:configuration:webpreplacement [2017/11/15 21:28]
Lisa Clarke [How much size reduced from WebP]
litespeed_wiki:cache:lscwp:configuration:webpreplacement [2017/11/15 21:31] (current)
Lisa Clarke [Debug]
Line 47: Line 47:
 We can see that the original JPG image is 9.1K, the optimized JPG file is 8.6k and the WebP is only 6.0k. All image sizes are comparable to those which we observed via the developer tool (which needs to subtract the header size). It appears that the WebP images are around 30% reduced from JPG. This is reasonable, according to [[https://​developers.google.com/​speed/​webp/​| Google'​s documentation]]. ​ We can see that the original JPG image is 9.1K, the optimized JPG file is 8.6k and the WebP is only 6.0k. All image sizes are comparable to those which we observed via the developer tool (which needs to subtract the header size). It appears that the WebP images are around 30% reduced from JPG. This is reasonable, according to [[https://​developers.google.com/​speed/​webp/​| Google'​s documentation]]. ​
  
-===== Debug ===== +===== Debugging ​===== 
-  ​- ​Check following rules exist in .htaccess ​file \\ <​code>​+ 
 +If it's not working, here are a few things you can check. Don't forget, some browsers don't support WebP images yet, and for those browsers, the default JPGs will be served. 
 + 
 +==== Check the Following Rules Exist in the ''​.htaccess''​ File ==== 
 + 
 +<​code>​
 ### marker WEBP start ### ### marker WEBP start ###
 RewriteCond %{HTTP_ACCEPT} "​image/​webp"​ RewriteCond %{HTTP_ACCEPT} "​image/​webp"​
Line 54: Line 59:
 ### marker WEBP end ### ### marker WEBP end ###
 </​code>​ </​code>​
-  - Check Debug log with Debug Advanced level + 
-    ​* ​If webp image not exist, you may see ''​Media:​ no file, bypassed''​+==== Check Debug Log with Debug Advanced level ==== 
 + 
 +If the WebP image doesn'​t ​exist, you may see ''​Media:​ no file, bypassed''​
  • Admin
  • Last modified: 2017/11/15 21:31
  • by Lisa Clarke