Changeset 1624

Show
Ignore:
Timestamp:
01/10/08 18:03:41 (4 months ago)
Author:
pdcawley
Message:

Made the page cache sweep catch everything that needs sweeping.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/models/page_cache.rb

    r1613 r1624  
    77    logger.debug "PageCache - sweep_all called" 
    88    unless Blog.default && Blog.default.cache_option == "caches_action_with_params" 
    9       self.zap_pages('index.*', 'articles', 'pages') 
     9      self.zap_pages('index.*', 'articles.*', 'articles', 'pages', 
     10                     'pages.*', 'feedback', 'feedback.*', 
     11                     'comments', 'comments.*', 
     12                     'categories', 'categories.*', 
     13                     'tags', 'tags.*') 
    1014    end 
    1115  end