Title: LiteSpeed Cache messes with CSS
Last modified: February 5, 2020

---

# LiteSpeed Cache messes with CSS

 *  Resolved [choice4better](https://wordpress.org/support/users/choice4better/)
 * (@choice4better)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-messes-with-css/)
 * I tried to disable js/css combine in ‘optimize’ according to a guide that I found
   but page is still messed up. see e.g., the video height. Only when I turn off
   the plugin it goes back to normal. I left all CSS/JS optimize “disabLed” now.
   Any ideas?
 * site: [http://www.choice4better.nl](http://www.choice4better.nl)
 * It also gives:
 * WARNING
    Caching functions on this page are currently unavailable!
 *  To use the caching functions you must have a LiteSpeed web server or be using
   QUIC.cloud CDN. Learn More
 * Do I need this litespeed web server for it to function properly?
 * Thanks! Floris
 * guide used: [https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:optimization-troubleshooting](https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:optimization-troubleshooting)
    -  This topic was modified 6 years, 3 months ago by [choice4better](https://wordpress.org/support/users/choice4better/).
    -  This topic was modified 6 years, 3 months ago by [choice4better](https://wordpress.org/support/users/choice4better/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flitespeed-cache-messes-with-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-messes-with-css/#post-12403090)
 * Hi [@choice4better](https://wordpress.org/support/users/choice4better/), may 
   I know did you turn ON lazy loading? Seem it’s affecting the iframe resize. If
   yes, could you try to turn it off to see the effect? If no, please please provide
   your Report Number, found in WP Admin > LiteSpeed Cache > Report.
 * > Do I need this litespeed web server for it to function properly?
    You don’t
   need to use LiteSpeed Server for optimization function, but we recommend you 
   still use LiteSpeed Server for the caching feature for speed up the website.
 *  Thread Starter [choice4better](https://wordpress.org/support/users/choice4better/)
 * (@choice4better)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-messes-with-css/#post-12403216)
 * Hi Stanley,
 * The “lazy loading” is off.
 * I don’t have a report number:
 * Server Variables
    SERVER_SOFTWARE = Apache/2 DOCUMENT_ROOT = /home/u14226p50859/
   domains/choice4better.nl/private_html LSWCP_TAG_PREFIX = 8a6 WP_SITEURL = NULL
   WP_HOME = NULL WP_CONTENT_DIR = /home/u14226p50859/domains/choice4better.nl/public_html/
   wp-content SHORTINIT = false LSCWP_CONTENT_DIR = /home/u14226p50859/domains/choice4better.
   nl/public_html/wp-content LSCWP_CONTENT_FOLDER = wp-content LSCWP_DIR = /home/
   u14226p50859/domains/choice4better.nl/public_html/wp-content/plugins/litespeed-
   cache/ LITESPEED_TIME_OFFSET = 3600.0 LITESPEED_SERVER_TYPE = NONE LITESPEED_CLI
   = NULL LITESPEED_ALLOWED = NULL LITESPEED_ON = NULL LITESPEED_ON_IN_SETTING =
   true LSCACHE_ADV_CACHE = true LSWCP_TAG_PREFIX = 8a6
 * Wordpress Specific Extras
    wordpress version = 5.3.2 siteurl = [http://choice4better.nl](http://choice4better.nl)
   home = [http://choice4better.nl](http://choice4better.nl) home_url = [http://choice4better.nl](http://choice4better.nl)
   locale = en active theme = Choice4Better active plugins = array ( 0 => ‘cookie-
   notice/cookie-notice.php’, 1 => ‘custom-taxonomy-order-ne/customtaxorder.php’,
   2 => ‘divi-100-hamburger-menu/hamburger-menu.php’, 3 => ‘duplicator/duplicator.
   php’, 4 => ‘litespeed-cache/litespeed-cache.php’, 5 => ‘safe-svg/safe-svg.php’,
   6 => ‘wordfence/wordfence.php’, 7 => ‘wordpress-seo/wp-seo.php’, )
 * LSCache Plugin Options
    version = 2.9.9.2 radio_select = 1 auto_upgrade = false
   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 = Mobile|Android|Silk/|Kindle
   |BlackBerry|Opera\ Mini|Opera\ Mobi 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_disable_all = 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_qs = excludes_cat = excludes_tag
   = instant_click = false css_minify = true css_inline_minify = true css_combine
   = true css_combined_priority = true css_http2 = true css_exclude = js_minify 
   = true js_inline_minify = true js_combine = true js_combined_priority = true 
   js_http2 = true js_exclude = optimize_ttl = 604800 html_minify = true optm_qs_rm
   = true optm_ggfonts_rm = true optm_css_async = true optm_ccss_gen = true optm_ccss_async
   = true optm_css_async_inline = true optm_js_defer = true optm_emoji_rm = true
   optm_exclude_jquery = true 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_cloudflare = false cdn_cloudflare_email =
   cdn_cloudflare_key = cdn_cloudflare_name = cdn_cloudflare_zone = media_img_lazy
   = false media_img_lazy_placeholder = media_placeholder_resp = false media_placeholder_resp_color
   = #cfd4db media_placeholder_resp_async = true media_iframe_lazy = true media_img_lazyjs_inline
   = true media_optm_auto = true media_optm_cron = true media_optm_ori = true media_rm_ori_bkup
   = false media_optm_webp = true media_optm_lossless = false media_optm_exif = 
   false media_webp_replace = true media_webp_replace_srcset = true hash = ewdpQzMzdvoTACa8P1LkWlRMuWkDLw8R
   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 esi_enabled = false esi_cached_admbar = true esi_cached_commform = true
   news = false litespeed-cache-vary-group = array ( ‘administrator’ => ’99’, ‘author’
   => ‘0’, ‘contributor’ => ‘0’, ‘editor’ => ‘0’, ‘subscriber’ => ‘0’, ‘wpseo_editor’
   => ‘0’, ‘wpseo_manager’ => ‘0’, ) litespeed-cache-exclude-optimization-roles 
   = array ( ) litespeed-cache-exclude-cache-roles = array ( ) litespeed-optm-css
   = litespeed-optm-js-defer-excludes = litespeed-media-lazy-img-excludes = wp-content/
   uploads/2019/10/logo_happytours-thailand-copy.png litespeed-media-lazy-img-cls-
   excludes = litespeed-media-need-pull = pulled litespeed-cache-drop_qs = litespeed-
   cache-cdn_mapping = array ( 0 => array ( ‘url’ => false, ‘inc_img’ => ‘1’, ‘inc_css’
   => ‘1’, ‘inc_js’ => ‘1’, ‘filetype’ => ‘.aac .css .eot .gif .jpeg .js .jpg .less.
   mp3 .mp4 .ogg .otf .pdf .png .svg .ttf .woff’, ), ) litespeed-cdn-ori_dir = wp-
   content wp-includes /min/ litespeed-cache-dns_prefetch = litespeed-cache-cloudflare_status
   = false litespeed-log_ignore_filters = gettext gettext_with_context get_the_terms
   get_term litespeed-log_ignore_part_filters = i18n locale settings option litespeed-
   object_global_groups = users userlogins usermeta user_meta site-transient site-
   options site-lookup blog-lookup blog-details rss global-posts blog-id-cache litespeed-
   object_non_persistent_groups = comment counts plugins wc_session_id litespeed-
   crawler-as-uids = litespeed-crawler-cookies = array ( ) 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-forced_cache_uri
   = litespeed-cache_uri_priv = litespeed-optm_excludes = litespeed-excludes_uri
   = litespeed-media-webp_attribute = img.src div.data-thumb img.data-src div.data-
   large_image img.retina_logo_url litespeed-optm-ccss-separate_posttype = litespeed-
   optm-css-separate_uri =
 * /home/u14226p50859/domains/choice4better.nl/public_html/.htaccess contents:
    #
   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” [or] RewriteCond%{
   HTTP_USER_AGENT} “Page Speed” 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 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 WordPress # The directives (lines) between `BEGIN WordPress`
   and `END WordPress` are # dynamically generated, and should only be modified 
   via WordPress filters. # Any changes to the directives between these markers 
   will be overwritten. <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
 *  Thread Starter [choice4better](https://wordpress.org/support/users/choice4better/)
 * (@choice4better)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-messes-with-css/#post-12403218)
 * [@stanleylitespeed](https://wordpress.org/support/users/stanleylitespeed/) thanks
   for replying.
 *  Thread Starter [choice4better](https://wordpress.org/support/users/choice4better/)
 * (@choice4better)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-messes-with-css/#post-12403342)
 * [@stanleylitespeed](https://wordpress.org/support/users/stanleylitespeed/) I 
   figured it out! Thanks 🙂
 *  Thread Starter [choice4better](https://wordpress.org/support/users/choice4better/)
 * (@choice4better)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-messes-with-css/#post-12403344)
 * Finished.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘LiteSpeed Cache messes with CSS’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [choice4better](https://wordpress.org/support/users/choice4better/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-messes-with-css/#post-12403344)
 * Status: resolved