Improved cache versioning so that framework files are also cached according to version (in case the framework itself is updated)