diff options
author | Evan Prodromou <evan@status.net> | 2010-01-04 10:00:17 -1000 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-04 10:00:17 -1000 |
commit | abc9b332412921e7ae7f730b23e186bcba412486 (patch) | |
tree | 12b7dd4a670a5d082e8f583d696c6080824ebd01 /plugins/PiwikAnalyticsPlugin.php | |
parent | a1821ec8afd40c3ab88546a8fa2e6fc03a19ad25 (diff) |
Memcached_DataObject stores empty values in the cache
There's great value in knowing that something doesn't exist. We
now cache this information, and carefully compare the results from
cache as $results !== false instead of !empty($results), since some
empty values (null, 0, empty array, empty string) are stored in the
cache.
Caching staticGet() and pkeyGet() now store DB misses in the cache,
and cachedQuery() checks for empty results from the cache.
Diffstat (limited to 'plugins/PiwikAnalyticsPlugin.php')
0 files changed, 0 insertions, 0 deletions