Better caching of static resources