PHP to generate an application cache file based on site files MD5 hash