View Single Post
  #3  
Old 03-15-2017, 01:27 AM
 
xgarb xgarb is offline
 

eXpert
  
Join Date: Jul 2004
Location: UK
Posts: 263
 

Default Re: Group all CSS into one file

Quote:
Originally Posted by qualiteam
Is the "Aggregate CSS files" setting enabled in your store? It is supposed to do what you describe:

Sort of does it, but check out the number of files..

<link href="http://firemouth.co.uk/xcart5test/var/resources/css/http/all/5b0fe15624457dd1ac0b7dab2e733879df8f679c2915c293d6 ec30a9679d409b.css?1487706193" rel="stylesheet" type="text/css" media="all" />
<link href="http://firemouth.co.uk/xcart5test/var/resources/default/http/screen/892dc82e328e0c690b100ea39235394f.css?1487706193" rel="stylesheet" type="text/css" media="screen" />
<link href="http://firemouth.co.uk/xcart5test/var/resources/default/http/screen/4e0530c04002109470a4b7631f9a73e6.css?1487706193" rel="stylesheet" type="text/css" media="screen" />
<link href="http://firemouth.co.uk/xcart5test/var/resources/css/http/all/b0c695f19851c08dfee36612b817433aee44091c724005b800 bbc6be263bf622.css?1487706193" rel="stylesheet" type="text/css" media="all" />
<link href="http://firemouth.co.uk/xcart5test/var/resources/css/http/print/1ec3db6a62c0d145e11d908cad5e8d68368fb1f59a645ffea3 edbe7144cb5932.css?1487706193" rel="stylesheet" type="text/css" media="print" />

Ideally there should be two. One for 'all' and one for 'print'. The other problem is there is multiple CSS files on the server which I'm guessing is for different page types (category, product etc) which is a clever system but ultimately I believe makes the site slower as each page the user visits has potentially a new stylesheet or two.
__________________
Core version: 5.5.xx
Reply With Quote