Show
Ignore:
Timestamp:
06/05/08 13:12:29 (7 months ago)
Author:
inureyes
Message:

#193

  • ATOM feed들에 대한 캐시 플러싱 루틴 추가
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/components/Needlworks.Cache.PageCache.php

    r6030 r6177  
    423423        $cache = new pageCache; 
    424424        $cache->name = 'commentRSS_'.$entryId; 
    425         $cache->purge(); 
     425        $cache->purge();  
    426426        $cache->reset(); 
    427427        $cache->name = 'commentRSS'; 
    428428        $cache->purge(); 
     429        $cache->reset(); 
     430        $cache->name = 'commentATOM_'.$entryId; 
     431        $cache->purge(); 
     432        $cache->reset(); 
     433        $cache->name = 'commentATOM'; 
     434        $cache->purge(); 
    429435        CacheControl::flushResponseRSS($entryId); 
    430436        return true; 
     
    440446        $cache->reset(); 
    441447        $cache->name = 'trackbackRSS'; 
     448        $cache->purge(); 
     449        $cache->reset(); 
     450        $cache->name = 'trackbackATOM_'.$entryId; 
     451        $cache->purge(); 
     452        $cache->reset(); 
     453        $cache->name = 'trackbackATOM'; 
    442454        $cache->purge(); 
    443455        CacheControl::flushResponseRSS($entryId); 
     
    455467        $cache->name = 'responseRSS'; 
    456468        $cache->purge(); 
     469        $cache->reset(); 
     470        $cache->name = 'responseATOM_'.$entryId; 
     471        $cache->purge(); 
     472        $cache->reset(); 
     473        $cache->name = 'responseATOM'; 
     474        $cache->purge(); 
    457475        return true; 
    458476    } 
     
    462480        $cache = new pageCache; 
    463481        $cache->name = 'commentNotifiedRSS'; 
     482        $cache->purge(); 
     483        $cache->reset(); 
     484        $cache->name = 'commentNotifiedATOM'; 
    464485        $cache->purge(); 
    465486        return true;