effective caching of static files