Conflict with remove query string functions
-
Since version 1.0.15, LiteSpeed Cache conflicts with code remove query strings:
function remove_cssjs_ver( $src ) { if( strpos( $src, '?ver=' ) ) $src = remove_query_arg( 'ver', $src ); return $src; } add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 ); add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
File has removed query string will not be cached anymore.
https://demo.wpcanban.com/…t/plugins/simple-social-icons/svgxuse.js (expiration not specified) https://demo.wpcanban.com/…s/js/flexslider/jquery.flexslider.min.js (expiration not specified) https://demo.wpcanban.com/…es/genesis/lib/js/menu/superfish.args.js (expiration not specified) https://demo.wpcanban.com/…/themes/genesis/lib/js/menu/superfish.js (expiration not specified) https://demo.wpcanban.com/…ontent/themes/paradise/js/back-to-top.js (expiration not specified) https://demo.wpcanban.com/…emes/paradise/js/responsive-menus.min.js (expiration not specified) https://demo.wpcanban.com/…radise/wp-includes/js/hoverIntent.min.js (expiration not specified) https://demo.wpcanban.com/…includes/js/jquery/jquery-migrate.min.js (expiration not specified) https://demo.wpcanban.com/…paradise/wp-includes/js/jquery/jquery.js (expiration not specified)
How to fix this?
Thanks so much!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Conflict with remove query string functions’ is closed to new replies.