We should let users decided (e.g. by providing a set of paths in configuration) which resources shall be cached instead of enabling caching for all resources.
Besides, it should be possible to decide in an interceptor whether a resource is a candidate for caching.