1. 11 7月, 2017 1 次提交
  2. 07 7月, 2017 1 次提交
  3. 02 7月, 2017 1 次提交
  4. 01 7月, 2017 1 次提交
  5. 20 6月, 2017 1 次提交
  6. 09 6月, 2017 1 次提交
  7. 24 12月, 2016 1 次提交
  8. 08 8月, 2016 1 次提交
    • S
      Modify LogSubscriber for single partial's cache message. · ab2af4df
      Stan Lo 提交于
      Implement naive partial caching mechanism.
      
      Add test for LogSubscriber
      
      Use ActionView::Base#log_payload to store log_subscriber's payload, so we can pass cache result into it.
      
      Fixed tests
      
      Remove useless settings
      
      Check if #log_payload exists before calling it. Because other classes also includes CacheHelper but don't have is attribute
      
      Use @log_payload_for_partial_reder instead of #log_payload to carry ActionView's payload.
      
      Update test's hash syntax
      
      Add configuration to enable/disable fragment caching logging
      
      Remove unless test and add new test to ensure cache info won't effect next rendering's log
      
      Move :enable_fragment_cache_logging config from ActionView to ActionPack
      
      Apply new config to tests
      
      Update actionview's changelog
      
      Update configuration guide
      
      Improve actionview's changelog
      
      Refactor PartialRenderer#render and log tests
      
      Mute subscriber's log instead of disabling instrumentation.
      
      Fix typo, remove useless comment and use new hash syntax
      
      Improve actionpack's log_subscriber test
      
      Fix rebase mistake
      
      Apply new config to all caching intstrument actions
      ab2af4df
  9. 07 8月, 2016 1 次提交
  10. 27 2月, 2016 2 次提交
  11. 21 2月, 2016 1 次提交
    • K
      Instrument cached collection renders. · b4700de1
      Kasper Timm Hansen 提交于
      Augments the collection caching with some instrumentation that's logged.
      
      For collections that have been cached like:
      
      ```ruby
      <%= render partial: 'notifications/notification', collection: @notifications, cached: true %>
      ```
      
      We'll output a line showing how many cache hits we had when rendering it:
      
      ```
        Rendered collection of notifications/_notification.html.erb [0 / 100 cache hits] (3396.5ms)
      ```
      b4700de1
  12. 18 7月, 2014 1 次提交
  13. 10 11月, 2013 1 次提交
  14. 08 11月, 2013 1 次提交
  15. 07 11月, 2013 2 次提交
  16. 25 8月, 2013 1 次提交
  17. 20 6月, 2013 1 次提交
  18. 01 10月, 2012 1 次提交
  19. 20 9月, 2012 1 次提交
  20. 19 1月, 2012 1 次提交
  21. 25 6月, 2011 1 次提交
  22. 14 8月, 2010 2 次提交
  23. 28 6月, 2010 1 次提交
  24. 24 6月, 2010 1 次提交