Refer to - http://www.infinitegrid.org/drupal/content/OMG_WTF_BBQ This is where we deal with systems to keep track of where in the web assets are, and to cache them.