This is an old revision of the document!


How to fix CSS/JS optimize issue

For faster our WordPress site purpose, LSCache plugin provide Optimize function, which includes Minify/Combine/Push functions. But in some cases we will see page may broken after enable all the optimize functions. This wiki is going to show you how to fix CSS combine issue. Other cases,(e.g. JS, combine, push) should be all similar. Before start, please open browser developer tool to help you check the issue.

  1. Check optimize issue site
    1. CSS Minify ON with no issue
    2. CSS Minify ON + Combine ON issue occurred
  2. How to fix
    1. Disable minify to see css file in clear
    2. Click the file you can see the full path of plugin. One plugin may have multi css or js file. You can simply add plugin name as excluded
    3. From issue page, we can see the product of small image can not show due to CSS combine. So, we try to add the issue css(e.g. woocommerce-smallscreen.css) as CSS Excludes from Tuning
  3. How to verify
    1. Enable CSS Minify ON + Combine ON again. Click Purge All button. Page now shows normally and we can see woocommerce-smallscreen.css is not optimized

  • Admin
  • Last modified: 2018/01/22 19:40
  • by Eric Leu