Lazy load for background-image
-
Hello there,
Is there any option for lazy load background-image?
-
Hello,
Can you submit report from Litespeed cache -> report and post the code here for your page.
I wanna check something.
Server Variables
SERVER_SOFTWARE = LiteSpeed
DOCUMENT_ROOT = /home/xxxx/xxxxx.com
X-LSCACHE = on
LSWCP_TAG_PREFIX = c30
WP_SITEURL = NULL
WP_HOME = NULL
WP_CONTENT_DIR = /home/xxxx/xxxxx.com/wp-content
SHORTINIT = false
LSCWP_CONTENT_DIR = /home/xxxx/xxxxx.com/wp-content
LSCWP_DIR = /home/xxxx/xxxxx.com/wp-content/plugins/litespeed-cache/
LITESPEED_TIME_OFFSET = 0
LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ENT
LITESPEED_CLI = NULL
LITESPEED_ALLOWED = true
LITESPEED_ON = true
LITESPEED_ON_IN_SETTING = true
LSCACHE_ADV_CACHE = trueWordpress Specific Extras
wordpress version = 4.9.5
siteurl = https://xxxxx.com
home = https://xxxxx.com
home_url = https://xxxxx.com
locale = en_US
active theme = GeneratePress
active plugins = array (
0 => ‘contact-form-7/wp-contact-form-7.php’,
1 => ‘gp-premium/gp-premium.php’,
2 => ‘insert-headers-and-footers/ihaf.php’,
4 => ‘lightweight-social-icons/lightweight-social-icons.php’,
5 => ‘litespeed-cache/litespeed-cache.php’,
6 => ‘wordpress-seo/wp-seo.php’,
)LSCache Plugin Options
version = 2.2.2
radio_select = 1
purge_upgrade = true
cache_priv = true
cache_commenter = true
cache_rest = true
cache_page_login = true
timed_urls =
timed_urls_time =
cache_favicon = true
cache_resources = true
mobileview_enabled = false
mobileview_rules =
cache_uri_priv =
cache_object = false
cache_object_kind = false
cache_object_host = localhost
cache_object_port = 11211
cache_object_life = 360
cache_object_persistent = true
cache_object_admin = true
cache_object_transients = true
cache_object_db_id = 0
cache_object_user =
cache_object_pswd =
cache_browser = false
cache_browser_ttl = 2592000
login_cookie =
check_advancedcache = true
use_http_for_https_vary = false
debug = 0
admin_ips = 127.0.0.1
debug_level = false
log_file_size = 3
heartbeat = true
debug_cookie = false
collaps_qs = false
log_filters = false
public_ttl = 604800
private_ttl = 1800
front_page_ttl = 604800
feed_ttl = 0
403_ttl = 3600
404_ttl = 3600
500_ttl = 3600
purge_by_post = A.F.H.M.PGS.PGSRP.PT.T
excludes_uri = /test/
excludes_qs =
excludes_cat =
excludes_tag =
instant_click = false
css_minify = true
css_inline_minify = true
css_combine = true
css_combined_priority = false
css_http2 = true
css_exclude =
js_minify = true
js_inline_minify = true
js_combine = true
js_combined_priority = false
js_http2 = true
js_exclude =
optimize_ttl = 604800
html_minify = true
optm_qs_rm = false
optm_ggfonts_rm = false
optm_css_async = false
optm_js_defer = true
optm_emoji_rm = true
optm_excludes = /test/
optm_exclude_jquery = false
optm_ggfonts_async = false
optm_max_size = 1.2
optm_rm_comment = true
cdn = false
cdn_ori =
cdn_exclude =
cdn_remote_jquery = 0
cdn_quic = false
cdn_quic_email =
cdn_quic_key =
cdn_quic_site =
cdn_cloudflare = false
cdn_cloudflare_email =
cdn_cloudflare_key =
cdn_cloudflare_name =
cdn_cloudflare_zone =
media_img_lazy = true
media_img_lazy_placeholder =
media_iframe_lazy = true
media_img_optm_cron_off = false
media_img_webp = true
media_img_webp_only = false
media_img_exif = false
media_img_webp_lossless = false
hash = M6dgjRvNm2oPdx0hruiTyyo6KTyR3YPd
nocache_cookies =
nocache_useragents =
crawler_include_posts = true
crawler_include_pages = true
crawler_include_cats = true
crawler_include_tags = true
crawler_excludes_cpt =
crawler_order_links = date_desc
crawler_usleep = 500
crawler_run_duration = 400
crawler_run_interval = 600
crawler_crawl_interval = 302400
crawler_threads = 3
crawler_load_limit = 1
crawler_domain_ip =
crawler_custom_sitemap =
crawler_cron_active = false
crawler_http2 = true
esi_enabled = false
esi_cached_admbar = true
esi_cached_commform = true
debug_disable_all = false
forced_cache_uri =
litespeed-cache-exclude-optimization-roles =
litespeed-cache-exclude-cache-roles = array (
)
litespeed-cache-drop_qs =
litespeed-cache-cdn_mapping = array (
0 =>
array (
‘url’ => false,
‘inc_img’ => false,
‘inc_css’ => false,
‘inc_js’ => false,
‘filetype’ => ‘.aac
.css
.eot
.gif
.jpeg
.js
.jpg
.less
.mp3
.mp4
.ogg
.otf
.pdf
.png
.svg
.ttf
.woff’,
),
)
litespeed-setting-mode = 1
litespeed-optm-js-defer-excludes =
litespeed-media-lazy-img-excludes =
litespeed-crawler-as-uids =
litespeed-adv-purge_all_hooks = switch_theme
wp_create_nav_menu
wp_update_nav_menu
wp_delete_nav_menu
create_term
edit_terms
delete_term
add_link
edit_link
delete_link
litespeed-cdn-ori_dir = wp-content
wp-includes
/min/
litespeed-media-webp_attribute = img.src
div.data-thumb
div.data-large_image
img.retina_logo_url/home/xxxx/xxxxx.com/.htaccess contents:
# 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 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 ###### marker WEBP start ###
RewriteCond %{HTTP_ACCEPT} “image/webp”
RewriteRule .* – [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
### marker WEBP end ###</IfModule>
## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
# END 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
Hello,
I need just the number, not the content.
Report number: ABUCRBDW
Report date: 04/20/2018 12:05:15Sorry my bad ??
Hello again,
Thank you for that information!
At this point that is not supported yet, but we have plans to support it.
-
This reply was modified 6 years, 11 months ago by
Tishu.
Hello,
Ok, thank you for your time!We added this to our dev plan. Thanks for your feedback.
-
This reply was modified 6 years, 11 months ago by
- The topic ‘Lazy load for background-image’ is closed to new replies.