Development

Changeset 16335

You must first sign up to be able to contribute.

Changeset 16335

Show
Ignore:
Timestamp:
03/16/09 13:20:30 (4 years ago)
Author:
johnwards
Message:

Caching of sitemap and content. Destroys cache on content save or tree being worked on. Bug fixes for permisions when loading in trees. Restricting loading in of tree in backend edit to one level at a time for speed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfXSLTViewPlugin/trunk/lib/sfXSLTView.class.php

    r15651 r16335  
    8080    $this->attributeHolder->set("components",$setcomponents); 
    8181  } 
     82   
    8283  function _get_cache($cacheManager, $uri) 
    8384  { 
    8485    $retval = $cacheManager->get($uri); 
    8586 
    86     if (sfConfig::get('sf_web_debug')) 
    87     { 
    88       $retval = sfWebDebug::getInstance()->decorateContentWithDebug($uri, $retval, false); 
    89     } 
     87//    if (sfConfig::get('sf_web_debug')) 
     88//    { 
     89//       
     90//      $retval = sfWebDebug::getInstance()->decorateContentWithDebug($uri, $retval, false); 
     91//    } 
    9092 
    9193    return $retval; 
     
    9698    $saved = $cacheManager->set($retval, $uri); 
    9799     
    98     if ($saved && sfConfig::get('sf_web_debug')) 
    99     { 
    100       $retval = sfWebDebug::getInstance()->decorateContentWithDebug($uri, $retval, true); 
    101     } 
     100//    if ($saved && sfConfig::get('sf_web_debug')) 
     101//    { 
     102//      $retval = sfWebDebug::getInstance()->decorateContentWithDebug($uri, $retval, true); 
     103//    } 
    102104 
    103105    return $retval;