KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a third party application that loads many css and javascript files, and I now want to optimize this by concatinating all the javascripts into one file, compressed by the yuicompressor, but ... when we have a mix like: <script type="text/javascript" src="script1.js"></script> <script type="text/javascript" src="script2.js"></script> <link rel="stylesheet" href="style1.css" type="text/css" /> <script type="text/javascript" src="script3.js"></script> <script type="text/javascript" src="script4.js"></script> Does it matter that there's a css in the middle here? Should I concatinate and yuicompress the 4 javascripts and load them before the CSS or after?
Tags (comma-separated)
Save Edits
Cancel