• mimmo94400

    (@mimmo94400)


    Hello everyone,

    I’m using the LiteSpeed Cache plugin on my website happyshuttle.cab.

    However, I’ve noticed that my booking system doesn’t work correctly when the cache is enabled.As a temporary solution, I excluded the entire homepage from the cache by adding the code ^/$ to the cache exclusions.

    While this works, it’s not an ideal solution since I’d like to exclude only the booking plugin (not the entire homepage).

    Does anyone know the best way to exclude a specific plugin from the cache? Or is there a method to identify and exclude only the scripts or CSS related to this plugin in LiteSpeed Cache?Thanks in advance for your help!

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support litetim

    (@litetim)

    Hello
    We are not able to remove cache by specific plugin.
    What exactly is you problem? the site is not looking ok OR the calculator is not returning correct values?

    Also, please create a report and share the number generated. Report can be created from LSC => Toolbox => Report => click on “Send to LiteSpeed”

    Thank you!

    Hello,

    Sorry for the delayed response !

    The issue is with the booking system—it stops working after one or two days and gets stuck on a loading spinner (preloader), preventing users from completing their reservations.

    To better illustrate the issue, please find a video showing the problem:

    https://youtu.be/0eLVSfO3I1I

    I have also sent the requested report. Here are the details:
    Report Number: ATRVUUQJ
    Report Date: 03/06/2025 13:58:41

    Let me know if you need any further details.

    Thank you!

    Plugin Support qtwrk

    (@qtwrk)

    sounds like a nonce issue

    please search word getRouteList through booking plugin , and share the result

    Hello,

    Thank you for your response. I searched for "getRouteList" in the booking plugin, and here are the results:

    • Ajax.php (6 occurrences)
      • Line 95: add_action( 'wp_ajax_getRouteList', array( $this, 'getRouteList' ) );
      • Line 97: add_action( 'wp_ajax_nopriv_getRouteList', array( $this, 'getRouteList' ) );
      • Line 433: public function getRouteList() {
      • Line 447: $result = $ajaxController->getRouteList();
    • tbfcore.js (2 occurrences)
      • Line 1169: passingData += '&action=getRouteList' + '&nonce=' + tblightAjax.nonce;
      • Line 3183: passing_data += '&action=getRouteList&nonce=' + tblightAjax.nonce;
    • tbfcore.min.js (2 occurrences, minified file)
    • ajaxcontroller.php (1 occurrence)
      • Line 1991: public function getRouteList()

    here are the full results:

    Rechercher "getRouteList" (11 résultats dans 4 documents depuis 318 documents recherchés) [Normal]
    C:\Users\Desktop\Desktop\wptblight-pro\Ajax.php (6 résultats)
    Ligne 95: add_action( 'wp_ajax_getRouteList', array( $this, 'getRouteList' ) );
    Ligne 97: add_action( 'wp_ajax_nopriv_getRouteList', array( $this, 'getRouteList' ) );
    Ligne 433: public function getRouteList() {
    Ligne 447: $result = $ajaxController->getRouteList();
    C:\Users\Desktop\Desktop\wptblight-pro\assets\js\tbfcore.js (2 résultats)
    Ligne 1169: passingData += '&action=getRouteList' + '&nonce=' + tblightAjax.nonce;
    Ligne 3183: passing_data += '&action=getRouteList&nonce=' + tblightAjax.nonce;
    C:\Users\Desktop\Desktop\wptblight-pro\assets\js\tbfcore.min.js (2 résultats)
    Ligne 1: var TBFCoreSettings=new function(){this.DatePickerFormat=null,this.TimePckerFormat=null,this.Is12HoursTimeFormat=null,this.SelectedOres4ServiceType=null,this.CurrencySymbol="",this.CalculatedDistance=0,this.CalculatedReturnDistance=0,this.MaxStopCount=23,this.RoutingType={PickUp:"Pickup",DropOff:"Dropoff",Stop:"Stop"},this.DistanceUnits={Miles:"Miles",Kilometers:"Kilometers"}},TBFEngine=new function(){this.OnReady=function(){this.ApplyDatePicker(jQuery("#pickupDateHolderStep1"),"pickupDateStep1"),this.ApplyDatePicker(jQuery("#returnDateHolder"),"returnTripPickupDate"),this.ApplyHrMinPicker();var e=jQuery("#booking_type").val();jQuery(".service-type-elems-wrapper").hide(),jQuery("#tabs_"+e).show(),"address"==e?(""!=jQuery("#address_from").val()&&""!=jQuery("#address_from_lat").val()&&""!=jQuery("#address_from_lng").val()&&TBFEngine.getExtras("first_address_pickup"),""!=jQuery("#address_to").val()&&""!=jQuery("#address_to_lat").val()&&""!=jQuery("#address_to_lng").val()&&TBFEngine.getExtras("first_address_dropoff"),jQuery("#stops_modal_trigger").show()):"offers"==e&&(""!=jQuery("#route_from").val()&&""!=jQuery("#route_from_lat").val()&&""!=jQuery("#route_from_lng").val()&&TBFEngine.getExtras("first_route_pickup"),""!=jQuery("#route_to").val()&&""!=jQuery("#route_to_lat").val()&&""!=jQuery("#route_to_lng").val()&&TBFEngine.getExtras("first_route_dropoff"),TBFEngine.clearStopPoints()),setTimeout(function(){"offers"==e&&jQuery("#route_from").val()>0&&jQuery("#route_to").val()>0&&TBFEngine.getSpecialRouteDetails(),""!=jQuery("#address_from").val()&&""!=jQuery("#address_to").val()&&0!=jQuery("#passengers").val()&&""!=jQuery("#pickupDateStep1").val()&&jQuery("#pickupTimeStep1").val()},1e3)},this.showViewMapBtn=function(){tblightAjax.showMapInPopupOnly?jQuery(".viewMapBtn").show():jQuery(".viewMapBtn").hide()},this.clearStopPoints=function(){jQuery("#stops_modal_trigger").hide(),jQuery("#stops_data_wrapper").html(""),jQuery(".stops-wrapper").hide()},this.clearAjaxLoading=function(){jQuery(".autocomplete-l ...
    Ligne 1: var TBFCoreSettings=new function(){this.DatePickerFormat=null,this.TimePckerFormat=null,this.Is12HoursTimeFormat=null,this.SelectedOres4ServiceType=null,this.CurrencySymbol="",this.CalculatedDistance=0,this.CalculatedReturnDistance=0,this.MaxStopCount=23,this.RoutingType={PickUp:"Pickup",DropOff:"Dropoff",Stop:"Stop"},this.DistanceUnits={Miles:"Miles",Kilometers:"Kilometers"}},TBFEngine=new function(){this.OnReady=function(){this.ApplyDatePicker(jQuery("#pickupDateHolderStep1"),"pickupDateStep1"),this.ApplyDatePicker(jQuery("#returnDateHolder"),"returnTripPickupDate"),this.ApplyHrMinPicker();var e=jQuery("#booking_type").val();jQuery(".service-type-elems-wrapper").hide(),jQuery("#tabs_"+e).show(),"address"==e?(""!=jQuery("#address_from").val()&&""!=jQuery("#address_from_lat").val()&&""!=jQuery("#address_from_lng").val()&&TBFEngine.getExtras("first_address_pickup"),""!=jQuery("#address_to").val()&&""!=jQuery("#address_to_lat").val()&&""!=jQuery("#address_to_lng").val()&&TBFEngine.getExtras("first_address_dropoff"),jQuery("#stops_modal_trigger").show()):"offers"==e&&(""!=jQuery("#route_from").val()&&""!=jQuery("#route_from_lat").val()&&""!=jQuery("#route_from_lng").val()&&TBFEngine.getExtras("first_route_pickup"),""!=jQuery("#route_to").val()&&""!=jQuery("#route_to_lat").val()&&""!=jQuery("#route_to_lng").val()&&TBFEngine.getExtras("first_route_dropoff"),TBFEngine.clearStopPoints()),setTimeout(function(){"offers"==e&&jQuery("#route_from").val()>0&&jQuery("#route_to").val()>0&&TBFEngine.getSpecialRouteDetails(),""!=jQuery("#address_from").val()&&""!=jQuery("#address_to").val()&&0!=jQuery("#passengers").val()&&""!=jQuery("#pickupDateStep1").val()&&jQuery("#pickupTimeStep1").val()},1e3)},this.showViewMapBtn=function(){tblightAjax.showMapInPopupOnly?jQuery(".viewMapBtn").show():jQuery(".viewMapBtn").hide()},this.clearStopPoints=function(){jQuery("#stops_modal_trigger").hide(),jQuery("#stops_data_wrapper").html(""),jQuery(".stops-wrapper").hide()},this.clearAjaxLoading=function(){jQuery(".autocomplete-l ...
    C:\Users\Desktop\Desktop\wptblight-pro\controllers\ajaxcontroller.php (1 résultats)
    Ligne 1991: public function getRouteList()

    Thanks in advance!

    Plugin Support qtwrk

    (@qtwrk)

    in these 2 php files , now search for word like nonce , and see what it returns

    Hi,

    Here are the results for the nonce search:

    C:\Users\Desktop\Desktop\litespeed\tbfcore.js (16 résultats)
    Ligne 753: nonce: tblightAjax.nonce
    Ligne 823: var passingData = jQuery('#price_form').serialize()+'&type='+type+'&poiid='+poiid + '&action=getExtraList' + '&nonce=' + tblightAjax.nonce;
    Ligne 1091: passingData += '&action=getReturnExtraList' + '&nonce=' + tblightAjax.nonce;
    Ligne 1169: passingData += '&action=getRouteList' + '&nonce=' + tblightAjax.nonce;
    Ligne 1227: var passingData = jQuery('#price_form').serialize() + '&action=getPrice' + '&nonce=' + tblightAjax.nonce;
    Ligne 1317: var passingData = jQuery('#price_form').serialize() + '&action=getVehicles' + '&nonce=' + tblightAjax.nonce;
    Ligne 1817: data: jQuery('#price_form').serialize() + '&action=calculateTotal' + '&nonce=' + tblightAjax.nonce,
    Ligne 3183: passing_data += '&action=getRouteList&nonce=' + tblightAjax.nonce;
    C:\Users\Desktop\Desktop\litespeed\Ajax.php (72 résultats)
    Ligne 123: // Check for nonce security
    Ligne 125: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 147: // Check for nonce security
    Ligne 149: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 171: // Check for nonce security
    Ligne 173: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 195: // Check for nonce security
    Ligne 197: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 219: // Check for nonce security
    Ligne 221: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 243: // Check for nonce security
    Ligne 245: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 267: // Check for nonce security
    Ligne 269: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 291: // Check for nonce security
    Ligne 293: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 315: // Check for nonce security
    Ligne 317: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 339: // Check for nonce security
    Ligne 341: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 363: // Check for nonce security
    Ligne 365: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 387: // Check for nonce security
    Ligne 389: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 411: // Check for nonce security
    Ligne 413: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 435: // Check for nonce security
    Ligne 437: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 459: // Check for nonce security
    Ligne 461: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 483: // Check for nonce security
    Ligne 485: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 509: // Check for nonce security
    Ligne 511: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    Ligne 569: // Check for nonce security
    Ligne 571: if ( ! wp_verify_nonce( $_POST['nonce'], 'tblight-ajax-nonce' ) ) {
    var TBFCoreSettings=new function(){this.DatePickerFormat=null,this.TimePckerFormat=null,this.Is12HoursTimeFormat=null,this.SelectedOres4ServiceType=null,this.CurrencySymbol="",this.CalculatedDistance=0,this.CalculatedReturnDistance=0,this.MaxStopCount=23,this.RoutingType={PickUp:"Pickup",DropOff:"Dropoff",Stop:"Stop"},this.DistanceUnits={Miles:"Miles",Kilometers:"Kilometers"}},TBFEngine=new function(){this.OnReady=function(){this.ApplyDatePicker(jQuery("#pickupDateHolderStep1"),"pickupDateStep1"),this.ApplyDatePicker(jQuery("#returnDateHolder"),"returnTripPickupDate"),this.ApplyHrMinPicker();var e=jQuery("#booking_type").val();jQuery(".service-type-elems-wrapper").hide(),jQuery("#tabs_"+e).show(),"address"==e?(""!=jQuery("#address_from").val()&&""!=jQuery("#address_from_lat").val()&&""!=jQuery("#address_from_lng").val()&&TBFEngine.getExtras("first_address_pickup"),""!=jQuery("#address_to").val()&&""!=jQuery("#address_to_lat").val()&&""!=jQuery("#address_to_lng").val()&&TBFEngine.getExtras("first_address_dropoff"),jQuery("#stops_modal_trigger").show()):"offers"==e&&(""!=jQuery("#route_from").val()&&""!=jQuery("#route_from_lat").val()&&""!=jQuery("#route_from_lng").val()&&TBFEngine.getExtras("first_route_pickup"),""!=jQuery("#route_to").val()&&""!=jQuery("#route_to_lat").val()&&""!=jQuery("#route_to_lng").val()&&TBFEngine.getExtras("first_route_dropoff"),TBFEngine.clearStopPoints()),setTimeout(function(){"offers"==e&&jQuery("#route_from").val()>0&&jQuery("#route_to").val()>0&&TBFEngine.getSpecialRouteDetails(),""!=jQuery("#address_from").val()&&""!=jQuery("#address_to").val()&&0!=jQuery("#passengers").val()&&""!=jQuery("#pickupDateStep1").val()&&jQuery("#pickupTimeStep1").val()},1e3)},this.showViewMapBtn=function(){tblightAjax.showMapInPopupOnly?jQuery(".viewMapBtn").show():jQuery(".viewMapBtn").hide()},this.clearStopPoints=function(){jQuery("#stops_modal_trigger").hide(),jQuery("#stops_data_wrapper").html(""),jQuery(".stops-wrapper").hide()},this.clearAjaxLoading=function(){jQuery(".autocomplete-l ...

    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    now please try search wp_nonce_field and wp_create_nonce

    wp_nonce_field through all booking plugin:
    Rechercher "wp_nonce_field" (16 résultats dans 16 documents depuis 318 documents recherchés) [Normal]
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\cars\edit.php (1 résultats)
    Ligne 75: <?php wp_nonce_field( 'tblight_create_car' );?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\configs\edit.php (1 résultats)
    Ligne 11: <?php wp_nonce_field( 'create-config', 'tblight_create_config' ); ?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\configs\edit_base.php (1 résultats)
    Ligne 235: <?php wp_nonce_field( 'create-base-config', 'tblight_create_base_config' ); ?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\configs\edit_design.php (1 résultats)
    Ligne 145: <?php wp_nonce_field( 'create-design-config', 'tblight_create_design_config' ); ?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\configs\edit_general.php (1 résultats)
    Ligne 173: <?php wp_nonce_field( 'create-general-config', 'tblight_create_general_config' ); ?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\configs\edit_map.php (1 résultats)
    Ligne 185: <?php wp_nonce_field( 'create-map-config', 'tblight_create_map_config' ); ?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\configs\edit_orderemail.php (1 résultats)
    Ligne 277: <?php wp_nonce_field( 'create-orderemail-config', 'tblight_create_orderemail_config' ); ?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\configs\edit_price.php (1 résultats)
    Ligne 145: <?php wp_nonce_field( 'create-price-config', 'tblight_create_price_config' ); ?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\configs\edit_terms.php (1 résultats)
    Ligne 99: <?php wp_nonce_field( 'create-terms-config', 'tblight_create_terms_config' ); ?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\drivenot.php (1 résultats)
    Ligne 81: <?php wp_nonce_field( 'submit-drivenot', 'tblight_submit_drivenot' ); ?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\fields\edit.php (1 résultats)
    Ligne 503: <?php wp_nonce_field( 'tblight_create_field' );?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\orders\edit.php (1 résultats)
    Ligne 553: <?php wp_nonce_field( 'tblight_create_order' );?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\paymentmethods\edit.php (1 résultats)
    Ligne 137: <?php wp_nonce_field( 'tblight_create_paymentmethod' );?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\poicats\edit.php (1 résultats)
    Ligne 87: <?php wp_nonce_field( 'tblight_create_poicat' );?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\points\edit.php (1 résultats)
    Ligne 167: <?php wp_nonce_field( 'tblight_create_point' );?>
    C:\Users\Desktop\Desktop\wptblight-pro\admin\views\routes\edit.php (1 résultats)
    Ligne 347: <?php wp_nonce_field( 'tblight_create_route' );?>
    wp_create_nonce through all booking plugin:
    Rechercher "wp_create_nonce" (13 résultats dans 9 documents depuis 318 documents recherchés) [Normal]
    C:\Users\Desktop\Desktop\wptblight-pro\admin\classes\cars_list.php (2 résultats)
    Ligne 365: $delete_nonce = wp_create_nonce( 'tblight_delete_car' );
    Ligne 367: $copy_nonce = wp_create_nonce( 'tblight_copy_car' );
    C:\Users\Desktop\Desktop\wptblight-pro\admin\classes\fields_list.php (1 résultats)
    Ligne 427: $delete_nonce = wp_create_nonce( 'tblight_delete_field' );
    C:\Users\Desktop\Desktop\wptblight-pro\admin\classes\orders_list.php (2 résultats)
    Ligne 349: $delete_nonce = wp_create_nonce( 'tblight_delete_order' );
    Ligne 351: $status_nonce = wp_create_nonce( 'tblight_status_order' );
    C:\Users\Desktop\Desktop\wptblight-pro\admin\classes\paymentmethods_list.php (1 résultats)
    Ligne 331: $delete_nonce = wp_create_nonce( 'tblight_delete_paymentmethod' );
    C:\Users\Desktop\Desktop\wptblight-pro\admin\classes\poicats_list.php (1 résultats)
    Ligne 325: $delete_nonce = wp_create_nonce( 'tblight_delete_poicat' );
    C:\Users\Desktop\Desktop\wptblight-pro\admin\classes\points_list.php (1 résultats)
    Ligne 345: $delete_nonce = wp_create_nonce( 'tblight_delete_point' );
    C:\Users\Desktop\Desktop\wptblight-pro\admin\classes\routes_list.php (3 résultats)
    Ligne 339: $delete_nonce = wp_create_nonce( 'tblight_delete_route' );
    Ligne 341: $copy_nonce = wp_create_nonce( 'tblight_copy_route' );
    Ligne 343: $copy_reverse_nonce = wp_create_nonce( 'tblight_copy_reverse_route' );
    C:\Users\Desktop\Desktop\wptblight-pro\admin\classes\users_list.php (1 résultats)
    Ligne 251: $delete_nonce = wp_create_nonce( 'tblight_delete_user' );
    C:\Users\Desktop\Desktop\wptblight-pro\Assets.php (1 résultats)
    Ligne 397: 'nonce' => wp_create_nonce( 'tblight-ajax-nonce' ),
    Plugin Support qtwrk

    (@qtwrk)

    okay , please try this

    go to Cache -> ESI -> enable ESI

    then add tblight* into ESI nonce list , save and purge all

    Plugin Support qtwrk

    (@qtwrk)

    okay , now give it a day or two , see how it goes

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.