Logo Search packages:      
Sourcecode: zope-cachefu version File versions  Download package

def CacheSetup::content::cache_tool::CacheTool::manage_purgeMacroCache (   self,
  REQUEST = None 
)

Purge the macro cache

Definition at line 354 of file cache_tool.py.

00354                                                   :
        """Purge the macro cache"""
        self.getMacros().clearCache()
        if REQUEST is not None:
            url = REQUEST.get('HTTP_REFERER', self.absolute_url()+'/edit')
            msg = 'portal_status_message=Macro+cache+purged'
            if url.find('?') != -1:
                url += '&' + msg
            else:
                url += '?' + msg
            return REQUEST.RESPONSE.redirect(url)

    # ##### Helper methods used for building ETags and for header setting ######

    def canAnonymousView(self, object):


Generated by  Doxygen 1.6.0   Back to index