Title: Avoid long main-thread tasks?
Last modified: November 22, 2020

---

# Avoid long main-thread tasks?

 *  Resolved [liquidzxc](https://wordpress.org/support/users/liquidzxc/)
 * (@liquidzxc)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/avoid-long-main-thread-tasks/)
 * Hello, i switch from w3 to litespeed because my hosting prove memcached feature.
   However after implementing everything and testing out in GTMetrix with very low
   score, i got this problem. How can i fix it? Thankyou
 * Avoid long main-thread tasks
 *     ```
       https://www.smael.co.id/wp-content/litespeed/cssjs/94f22.js?1d7b5
       3.3s	0.8s
       https://www.smael.co.id/wp-content/plugins/litespeed-cache/assets/js/webfontloader.min.js
       1.1s	0.6s
       https://www.smael.co.id/wp-content/litespeed/cssjs/94f22.js?1d7b5
       2.6s	291ms
       https://www.smael.co.id/
       0.7s	246ms
       https://www.smael.co.id/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp
       3.1s	180ms
       https://www.smael.co.id/wp-content/litespeed/cssjs/94f22.js?1d7b5
       4.2s	112ms
       Unattributable
       2.9s	100ms
       https://www.smael.co.id/wp-content/litespeed/cssjs/94f22.js?1d7b5
       2.5s	94ms
       https://www.smael.co.id/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp
       1.8s	89ms
       https://www.smael.co.id/wp-content/litespeed/cssjs/94f22.js?1d7b5
       1.7s	84ms
       https://www.smael.co.id/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp
       0.7s	73ms
       https://www.smael.co.id/wp-content/litespeed/cssjs/94f22.js?1d7b5
       3.0s	73ms
       https://www.smael.co.id/wp-content/litespeed/cssjs/94f22.js?1d7b5
       2.2s	59ms
       https://www.smael.co.id/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp
       4.3s	54ms
       https://www.smael.co.id/wp-content/litespeed/cssjs/94f22.js?1d7b5
       2.3s	53ms
       Unattributable
       4.1s	52ms
       ```
   
    -  This topic was modified 5 years, 5 months ago by [Yui](https://wordpress.org/support/users/fierevere/).
    -  This topic was modified 5 years, 5 months ago by [Yui](https://wordpress.org/support/users/fierevere/).
      Reason: please use CODE button for code formatting
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Favoid-long-main-thread-tasks%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/avoid-long-main-thread-tasks/#post-13695414)
 * Hi,
 * Sadly we can’t fix it.
 * this happens because your site got a lot of javascript
 * we can only minify/combine or defer the javascript on yoru site , but we can 
   not strip/remove it
 * you can try disable JS combine which may help.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Avoid long main-thread tasks?’ 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/)

## Tags

 * [gtmetrix](https://wordpress.org/support/topic-tag/gtmetrix/)

 * 1 reply
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/avoid-long-main-thread-tasks/#post-13695414)
 * Status: resolved