Moved set_cache_max_age out of before_filter