Skip to content

Commit

Permalink
disable Lite Speed Cache for POS page
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbot committed May 8, 2023
1 parent 007bf3a commit b1f8b0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/Templates/Frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,9 @@ private function no_cache(): void {
if ( ! \defined( 'DONOTCACHEPAGE' ) ) {
\define( 'DONOTCACHEPAGE', 'true' );
}

// disable Lite Speed Cache
do_action( 'litespeed_control_set_nocache', 'nocache WoCommerce POS web application' );

}
}

0 comments on commit b1f8b0d

Please sign in to comment.