I am procesing Response object after app is done with it and I run into small problem with caching.
Right now there is only noCache method implemented by directly adding headers.
I propose to add privateCache() and publicCache() and change it's inner works from directly adding headers to change a flag and add headers when they are being send.
Which will allow easily change and detect current caching strategy.
I am procesing Response object after app is done with it and I run into small problem with caching.
Right now there is only
noCachemethod implemented by directly adding headers.I propose to add
privateCache()andpublicCache()and change it's inner works from directly adding headers to change a flag and add headers when they are being send.Which will allow easily change and detect current caching strategy.