LS Cache not combining CSS and JS when used with CDN network
-
Hi,
Under Optimize I have both JS Combine and CSS Combine turned on.
When not using CDN:
YSlow gives Grade A on Make fewer HTTP requests
All files are combined into 1 CSS and 1 JS file :-))
<link data-optimized=’1′ rel=’stylesheet’ href=’https://www.site.ca/min/c1c8b.css’ /></script><script data-optimized=’1′ src=’https://www.site.ca/min/2364a.js’ ></script>
When using LiteSpeed CDN function:
YSlow gives Grade F on Make fewer HTTP requests
This page has 17 external Javascript scripts. Try combining them into one.
This page has 6 external stylesheets. Try combining them into one.
This page has 7 external background images. Try combining them with CSS sprites.All files are delivered through CDN but are not combined :-((
<meta charset=”UTF-8″><link rel=’stylesheet’ id=’colorbox-css’ href=’https://cdn.site.ca/wp-content/themes/ps/theme-framework/js/colorbox/colorbox.min.css’ type=’text/css’ media=’all’ /><link rel=’stylesheet’ id=’jquery-ui-style-css’ href=’https://cdn.site.ca/wp-content/themes/ps/framework/styles/jquery-ui/jquery-ui.min.css’ type=’text/css’ media=’all’ /><link rel=’stylesheet’ id=’at-main-css’ href=’https://cdn.site.ca/wp-content/themes/ps/style.css’ type=’text/css’ media=’all’ /><link rel=’stylesheet’ id=’at-color-css’ href=’https://cdn.site.ca/wp-content/themes/ps/styles/aqua.css’ type=’text/css’ media=’all’ /><link rel=’stylesheet’ id=’dashicons-css’ href=’https://cdn.site.ca/wp-includes/css/dashicons.min.css’ type=’text/css’ media=’all’ /><link rel=’stylesheet’ id=’open-sans-css’ href=’https://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext’ type=’text/css’ media=’all’ /><script type=’text/javascript’ src=’https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js’></script><script type=’text/javascript’ src=’https://cdn.site.ca/wp-content/themes/ps/framework/js/validate/jquery.validate.min.js’></script><script type=’text/javascript’ src=’https://cdn.site.ca/wp-content/themes/ps/framework/js/validate/jquery.validate-lang.js’></script><script type=’text/javascript’ src=’https://cdn.site.ca/wp-content/themes/ps/includes/js/tinynav.min.js’></script><script type=’text/javascript’ src=’https://cdn.site.ca/wp-content/themes/ps/theme-framework/js/footable/jquery.footable.min.js’></script><script type=’text/javascript’ src=’https://cdn.site.ca/wp-content/themes/ps/includes/js/jquery.selectBox.min.js’></script><script type=’text/javascript’ src=’https://cdn.site.ca/wp-content/themes/ps/includes/js/theme-scripts.min.js’></script><script type=’text/javascript’ src=’https://cdn.site.ca/wp-content/themes/ps/theme-framework/js/colorbox/jquery.colorbox.min.js’></script>
Why is LiteSpeed Cache not combining scripts when used with CDN network ???
Thanks for your help.
Using UltraVPS license (with LSCache Standard)
LiteSpeed WHM/cPanel Plugin
PHP 7.0, WP 4.9.1, LS Cache 1.7.1.1
- The topic ‘LS Cache not combining CSS and JS when used with CDN network’ is closed to new replies.