title: understanding caching js file on server side using php
body: <p>I am trying to cache js files on server side and came across this <a href="http://www.cforcoding.com/2009/05/supercharging-javascript-part-4-caching.html" rel="nofollow">link</a>. </p>
  
  <p>The whole idea is to get contents of all js files to be cached and write to a separate file which is also having a .js extension.</p>
  
  <p>What I am not able to get is that, the cache file created is just another js file. How is it different from normal js files. To me it was like combing all js files into one big js files and output as a buffer. Also is it not increasing the code/text ratio because of this. Please help me understand and also to avoid the increase in code/text ratio.</p>
  
  <p>I searched a lot on google and this site for answers and not able to get anything even close. So please downvote.</p>