Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:cache:lscwp:configuration:media [2017/11/15 21:32]
Lisa Clarke [Image WebP Replacement]
litespeed_wiki:cache:lscwp:configuration:media [2020/11/14 15:21] (current)
Lisa Clarke Redirect to new Documentation Site
Line 1: Line 1:
-====== LSCWP Configuration SettingsMedia ====== +~~REDIRECT>​https://docs.litespeedtech.com/lscache/lscwp/pageopt/~~
- +
-Looking for Image Optimization?​ [[litespeed_wiki:​cache:​lscwp:​image-optimization|Click here]]. +
- +
-{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-media.png?​direct&​800|}} +
- +
-===== Lazy Load Images ===== +
-//off// +
- +
-When enabled, this setting only loads the images that are visible in the viewportThe remaining images are only loaded as necessary when they scroll into view. +
- +
-===== Lazy Load Image Excludes ===== +
-//empty string// +
- +
-Sometimes there are images that you want to load immediately no matter where they appear on the screen. Enter them here, one per line. You may use the full URI or a partial string. Partial strings come in handy if you have an entire directory of images that must be immediately loaded. Don't use wildcards here. +
- +
-===== Lazy Load Image Placeholder ===== +
-//empty string// +
- +
-When **Lazy Load Images** is enabled, a gray box is displayed as a placeholder until an image can be loaded. If you'd prefer something more creative, you can specify your own base64 image. You can list the image here, or you can use the ''​LITESPEED_PLACEHOLDER''​ constant in your ''​wp-config.php''​ file. If both are defined, this setting takes precedence over the ''​wp-config.php''​ constant. +
-===== Lazy Load iframes ===== +
-//off// +
- +
-This setting behaves exactly as **Lazy Load Images**, only for iframes instead of images. +
- +
-===== Disable Optimization Pull ===== +
-//off// +
- +
-This option, when '​ON',​ will disable the cron job that is used to pull optimized images from the central server into your WordPress media library. If you turn this on, you will be unable to retrieve your optimized images. +
- +
-Note: There'​s a typo in the plugin. "​Poll"​ should be "​Pull"​ and will be fixed in a later version. Apologies for any confusion. +
-===== Image WebP Replacement ===== +
-//off// +
- +
-Turn this option '​ON'​ to [[litespeed_wiki:​cache:​lscwp:​configuration:​webpreplacement|use WebP images in place of JPG or PNG images]], where available. This is a master switch. To control the use of WebP on an image-by-image basis, from the WordPress Dashboard, navigate to **Media > Library**, hover over the image in question, and you will see a WebP enable/​disable toggle link. +
- +
-Note: The WebP image format is not supported by all browsers. If an unsupported browser requests a page with WebP images on it, LSCache will serve a version with the original image file format to that browser.+
  • Admin
  • Last modified: 2017/11/15 21:32
  • by Lisa Clarke