How to stop drupal from creating another consolidated CSS file for each node type?

I have a rather large Drupal 6 site with various modules included for different types of node / page, which leads to the creation of a different CSS file for each type of page after combining CSS. I understand the logic of not wanting to load css for each module, but is there a way to load sitewide css into a single file so that we can take advantage of CSS caching?

Homepage:

<link type="text/css" rel="stylesheet" media="all" href="/site-files/example.com/files/css/css_1f2e88da1acf78556ee565984845d7cd.css" /></code> 

Article:

 <link type="text/css" rel="stylesheet" media="all" href="/site-files/example.com/files/css/css_1786ec41724511f6c0984222b790dca6.css" /> 

Category:

 <link type="text/css" rel="stylesheet" media="all" href="/site-files/example.com/files/css/css_b7f516c6ab4921929598cfd377ce4523.css" /> 

Video:

 <link type="text/css" rel="stylesheet" media="all" href="/site-files/example.com/files/css/css_a702453ef81af3318ad63a194280100e.css" /> 

There must be some logic when creating these files if you think the difference between them is minimal.

Cheers, Steve

+4
source share
1 answer

Answering my own question ...

As always with Drupal, someone was already there and did it, and here it is:

http://drupal.org/project/advagg

A small additional study of the advantages of first page load time compared to a cached file on the site side, etc. It was very insightful.

+2
source

All Articles