Moved cache-control header settings into controller