Cache-control使用Cache-control:private学习笔记
网页缓存由 HTTP消息头中的Cache-control控制,常见取值有private、no-cache、max-age、must- revalidate等,默认为private
在RAILS 3.1中的js资产上设置Cache-Control标头
Ichecktheheadersonmyproductionserveras我检查生产服务器上的标题为curl--head-H"Accept-Encoding:gzip"http://foo.heroku.com/assets/mobile.jsandIgetbackthefollowinghead...