Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
I found the problem...
The css files where declared as:
<link href="/css/homepage.css" rel="stylesheet" />
But needed to be declared as:
<link href="/css/homepage.css" rel="stylesheet" type="text/css" media="screen" />
The type property is required. Too right 'n' all. :-)
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.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted