新手问题 Rails 4 设定 cache_control 无效

liudangyi · November 04, 2013 · Last by liudangyi replied at March 16, 2014 · 2382 hits

不管是用 expires_now ,还是 response.cache_control[:no_cache] = true,还是 response.header["Cache-Control"] = "no-cache",都没有效果。

服务器是 thin,rails 版本 4.0,全部默认配置。

请问遇到这种情况应该怎么办。。

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