update rails configuration for cache headers