1 min readMay 14, 2019
I would argue that is bad, not because the location, but of control, since the purpose of a View is to present data to the browser, not control the cache header inside of the Response. I suggest to look for a way to detect if a View is being rendered, and then change the Response headers.