I've implemented Peter's compression package on our Umbraco instance. It's working in that it's combining and compressing my JS files and sending the page down gzipped.
However the plugin seems to have missed most of my css files - but it has found some.
PeterD.Compress missing some CSS files
Hi all,
I've implemented Peter's compression package on our Umbraco instance. It's working in that it's combining and compressing my JS files and sending the page down gzipped.
However the plugin seems to have missed most of my css files - but it has found some.
Here's the code:
Does anyone have any ideas?
Thanks,
Chris
I found the problem...
The css files where declared as:
But needed to be declared as:
The type property is required. Too right 'n' all. :-)
Thanks.
Hi,
glad you found the problem yourself :)
Indeed, the type="text/css" is required, because there are other link-items that you don't want processed.
Cheers,
Peter
is working on a reply...