Rails Rails3.1 中如何设置 Cache-Control?

zfben · January 12, 2012 · Last by zfben replied at December 20, 2012 · 2323 hits

通过 response.headers 设置无效,网上搜索了下也没找到答案,不知道有没有人遇到过这种问题?

expires_in 30.days, :public => true

#1 楼 @wxianfeng 谢谢,回头试试

You need to Sign in before reply, if you don't have an account, please Sign up first.