title: What's the proper way to work with assets in Yii?
body: <p>I notice that Yii creates strange set of directories (names like 8523d23 or 10s89b92) in assets directory, and this even happens at runtime. For example, one of my tables got more than 10 records, pagination kicked-in and I got a new files in assets subdirectory named pager.css.</p>
  
  <p>When I move my site from testing to production, should I copy all those, or just create an empty "assets" directory, and it will be filled at runtime?</p>
  
  <p>If I want to add, for example, some new jQuery plugin, how should I proceed? </p>
  
  <p>For example, I wish to add jquery.charcounter.js, do I copy it to assets or to <code>yii/framework/web/js/source</code>? If I do the latter, how do I get this .js file included in HTML page output?</p>