Commit Graph

9 Commits

Author SHA1 Message Date
Brion Vibber aff78e5121 Cache fixes:
* We now cache negative lookups; clear them in Memcached_DataObject->insert()
* Mark file.url as a unique key in statusnet.ini so its negative lookups are cleared properly (first save of a notice with a new URL was failing due to double-insert)
* Now using serialization for default in-process cache instead of just saving objects; avoids potential corruption if you save an object to cache, change the original object, then fetch the same key from cache again
2010-01-05 15:05:53 -08:00
Brion Vibber 16254c14c8 Typo fix in the new default in-process cache; spewed notice warnings on deletion, breaking XHR responses. 2010-01-05 09:54:43 -08:00
Evan Prodromou a1821ec8af default value for cache::get() changed from null to false 2010-01-04 09:59:47 -10:00
Evan Prodromou bfa3aa0e7f Remove logging from default cache 2010-01-03 11:28:15 -10:00
Evan Prodromou cc5534d180 First version of Memcache plugin 2010-01-02 21:16:59 -10:00
Evan Prodromou 1e1062ca9c Make cache.php PHPCS-clean 2010-01-02 21:00:42 -10:00
Evan Prodromou 65d07b657d invert if for cache handling 2010-01-02 20:37:30 -10:00
Evan Prodromou e1de1bf0fe fix default array implementation checks 2010-01-02 20:32:56 -10:00
Evan Prodromou c5d23e27a6 Make caching a plugin system 2010-01-02 20:26:33 -10:00