title: Loading CSS (& possibly JS) with PHP
body: <p>If you have a lot of files, would there be any benefit to doing something like this in the header:</p>
  
  <pre><code>&lt;style type="text/css"&gt;
  &lt;?php 
  include("css/myCss1.css"); 
  include("css/myCss2.css"); 
  include("css/myCss3.css"); 
  include("css/myCss4.css"); 
  include("css/myCss5.css"); 
  ?&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>That way server returns one file instead of several. You can also load the content from js in between script tags. </p>
  
  <p>Please don't flame, just explain why this would or would not make sense in a situation where you need to have a lot of individual files and you want to consolidate instead of having the main file make calls for those files individually.  </p>
  
  <p>I've tried and they seem to work... but what are the repercussions on the server or benefits of speed (if any). </p>
  
  <p>Just curious... Thank you very much. </p>
  
  <p>UPDATE: Thank you for all replies... Would another solution (that would deal with the cache issue) be to have 1 external php file that load all the other css into it - sort of combining all into 1?? Does that make sense? </p>