• Resolved harryfear

    (@harryfear)


    For some reason, Litespeed Cache plugin is blocking jQuery from loading properly on the front end.

    This occurs in spite of:—

    • Any combination of page optm JS settings on or off
    • Use of LSCWP_CTRL=before_optm flag
    • Page optm Tuning exclusions for jquery.min.js jquery.js jQuery jquery (on own line)

    I fear this might be as a result of a settings import/export issue, as this Litespeed config was imported from a blueprint site.

    📸 jQuery definitely isn’t being loaded: https://ibb.co/kyXyMpP
    📸 Tuning exceptions https://ibb.co/6sCxfF1 and https://ibb.co/3mMQY7j

    Version 4.6

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter harryfear

    (@harryfear)

    Using Toolbox > Debug > “Disable All Features” isolates the issue to Litespeed sadly.

    Thread Starter harryfear

    (@harryfear)

    The advanced debug log prints this:

    07/04/22 21:43:45.200 [IP:42976 1 Rdw] 💓 ------GET HTTP/1.1 (HTTPS) /new/
    07/04/22 21:43:45.200 [IP:42976 1 Rdw] Query String: page_id=15200&LSCWP_CTRL=before_optm
    07/04/22 21:43:45.200 [IP:42976 1 Rdw] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
    07/04/22 21:43:45.200 [IP:42976 1 Rdw] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
    07/04/22 21:43:45.200 [IP:42976 1 Rdw] Accept Encoding: gzip
    07/04/22 21:43:45.200 [IP:42976 1 Rdw] Cookie _lscache_vary: 470067f2a3fab238eab17479263d43c9
    07/04/22 21:43:45.200 [IP:42976 1 Rdw] X-LSCACHE: true
    07/04/22 21:43:45.865 [IP:42976 1 Rdw] [Core] ⛑️ bypass_optm due to QS CTRL
    07/04/22 21:43:45.932 [IP:42976 1 Rdw] [Ctrl] X Cache_control -> no Cache ( logged in user ) => LiteSpeed\Control::set_nocache(( logged in user ))@362 => LiteSpeed\Vary->after_user_init()@86 => LiteSpeed\LSC->after_user_init()@205 => WP_Hook->apply_filters(ARRAY)@307 => WP_Hook->do_action(ARRAY)@331 =>
    /home/host/public_html/www.domain.com/new/wp-settings.php@476
    07/04/22 21:43:45.932 [IP:42976 1 Rdw] [Router] get_role: administrator
    07/04/22 21:43:45.933 [IP:42976 1 Rdw] [Router] LSCWP_CTRL query string - did not match admin IP Actions: before_optm
    07/04/22 21:43:45.934 [IP:42976 1 Rdw] [GUI] init
    07/04/22 21:43:46.271 [IP:42976 1 Rdw] [Core] CHK html bypass: miss footer const
    07/04/22 21:43:46.271 [IP:42976 1 Rdw] [Core] CHK html bypass: miss footer const
    07/04/22 21:43:46.272 [IP:42976 1 Rdw] [Ctrl] not cacheable before ctrl finalize
    07/04/22 21:43:46.273 [IP:42976 1 Rdw] [Vary] role in vary_group [group] 99
    07/04/22 21:43:46.273 [IP:42976 1 Rdw] [Vary] show_admin_bar_front:
    07/04/22 21:43:46.273 [IP:42976 1 Rdw] [Vary] admin bar : true
    07/04/22 21:43:46.275 [IP:42976 1 Rdw] [Vary] set_cookie ---> admin_bar:1;logged-in:1;role:99
    07/04/22 21:43:46.275 [IP:42976 1 Rdw] [Vary] no custimzed vary
    07/04/22 21:43:46.276 [IP:42976 1 Rdw] --forced--
    07/04/22 21:43:46.276 [IP:42976 1 Rdw] End response
    --------------------------------------------------------------------------------
    
    07/04/22 21:43:46.311 [IP:42976 1 Rdw] [Core] Footer hook called
    07/04/22 21:43:46.315 [IP:42976 1 Rdw] [Core] Footer check failed: 2-<link href="https://fonts.googleapis.com/css?family=Open+Sans:100,200,300,400,500,600,700,800,900|So
    07/04/22 21:43:46.315 [IP:42976 1 Rdw] End response
    --------------------------------------------------------------------------------
    • This reply was modified 3 years, 10 months ago by harryfear.
    • This reply was modified 3 years, 10 months ago by harryfear.
    • This reply was modified 3 years, 10 months ago by harryfear.
    Thread Starter harryfear

    (@harryfear)

    OK, this was a result of a config issue with Oxygen builder. I’ve resolved it.

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

The topic ‘jQuery not loading’ is closed to new replies.