Dotclear

Changeset 1402


Ignore:
Timestamp:
08/17/09 15:50:18 (13 years ago)
Author:
pep
Message:

memCache 1.0-beta4 : Changed TTL when inserting a page to 7 days instead of the previous dumb "forever" choice.

Location:
plugins/memCache
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/memCache/_define.php

    r1390 r1402  
    1616     /* Description*/         "Blog pages cache using memcached", 
    1717     /* Author */             "Alain Vagner, Pep and contributors", 
    18      /* Version */            '1.0-beta3', 
     18     /* Version */            '1.0-beta4', 
    1919     /* Permissions */        null 
    2020); 
  • plugins/memCache/class.cache.php

    r1390 r1402  
    5050     { 
    5151          $val = array($mtime,$content_type,$content); 
    52           if (!$this->mc->set($this->memcache_key,serialize($val),false,0)) { 
     52          if (!$this->mc->set($this->memcache_key,serialize($val),false,604800)) { 
    5353               throw new Exception('cmpCache: unable to set a value'); 
    5454          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map