Cache Sweeping
Expire cached revisions of deleted pages. Tweak the appearance of "history" page a bit.
This commit is contained in:
parent
69bfc1028b
commit
98918954e0
4 changed files with 16 additions and 1 deletions
|
@ -25,6 +25,7 @@ class WebSweeper < ActionController::Caching::Sweeper
|
|||
elsif record.is_a?(Page)
|
||||
expire_cached_page(record.web, record.name)
|
||||
expire_cached_summary_pages(record.web)
|
||||
expire_cached_revisions(record)
|
||||
else
|
||||
expire_cached_summary_pages(record.web)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue