I found that with some sites the CSS was not being read properly because of browser caching of the stylesheet. For better or worse I use the old fashioned server file system for both javascripts and css. The only time I put javascripts in Exp Eng is when I need to generate custom content inside the javascript using an Exp Eng channel tag for example.
In addition, images used in a CSS style sheet will always be found if you use an ‘images’ directory inside the ‘css’ directory and use relative URL’s in the CSS. Putting CSS in Exp Eng, and not taking the full path into account, can lead to images not found or broken CSS on your web page. In other words, if you use an embed or snippet to include the links to your style sheet, and it is a relative path, then things may break if you didn’t work out the paths correctly.
It just became easier to me to just use
{site_url}css/images/someimage.png
{site_url}css/somestyle.css
Wherever I need it in a template.
But there may be other technical reasons why the ‘stylesheet’ tag is useful that I’m not aware of.
- Bob.