fixes to caching of static files