1. 17 8月, 2014 1 次提交
    • J
      When your templates change, browser caches bust automatically. · 6c96602b
      Jeremy Kemper 提交于
      New default: the template digest is automatically included in your ETags.
      When you call `fresh_when @post`, the digest for `posts/show.html.erb`
      is mixed in so future changes to the HTML will blow HTTP caches for you.
      This makes it easy to HTTP-cache many more of your actions.
      
      If you render a different template, you can now pass the `:template`
      option to include its digest instead:
      
        fresh_when @post, template: 'widgets/show'
      
      Pass `template: false` to skip the lookup. To turn this off entirely, set:
      
        config.action_controller.etag_with_template_digest = false
      6c96602b
  2. 15 8月, 2014 1 次提交
  3. 14 8月, 2014 15 次提交
  4. 13 8月, 2014 3 次提交
  5. 12 8月, 2014 3 次提交
  6. 09 8月, 2014 3 次提交
  7. 08 8月, 2014 3 次提交
  8. 07 8月, 2014 3 次提交
  9. 06 8月, 2014 4 次提交
  10. 05 8月, 2014 1 次提交
  11. 04 8月, 2014 2 次提交
  12. 02 8月, 2014 1 次提交