Add support for caching static resources based on max-age from Cache-Control