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
source share