Skip to content

Commit

Permalink
Implement expiring cache without using old plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Apr 22, 2011
1 parent 8496d7f commit 59f172e
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 192 deletions.
2 changes: 1 addition & 1 deletion app/views/applications/address.haml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
%dl= render :partial => "application", :collection => @applications
- else
%hr
- cache 'news', 1.hour.from_now do
- cache 'news', :expires_in => 1.hour do
.news
.blog-feed
%h4
Expand Down
12 changes: 0 additions & 12 deletions vendor/plugins/timed_fragment_cache/CHANGELOG

This file was deleted.

20 changes: 0 additions & 20 deletions vendor/plugins/timed_fragment_cache/MIT-LICENSE

This file was deleted.

25 changes: 0 additions & 25 deletions vendor/plugins/timed_fragment_cache/README.rdoc

This file was deleted.

2 changes: 0 additions & 2 deletions vendor/plugins/timed_fragment_cache/init.rb

This file was deleted.

132 changes: 0 additions & 132 deletions vendor/plugins/timed_fragment_cache/lib/timed_fragment_cache.rb

This file was deleted.

0 comments on commit 59f172e

Please sign in to comment.