Hi everyone,

I just realized, that with the code-snippet from the
Zend_Cache-documentation an empty cache-object behaves like a
cache-miss.

 if (!($data = $cache->load($cacheId))) {
  // cache miss...

So if the loaded cache is just empty (in a file-cache it looks like: "
 -1571559392a:0:{}") it will be generated again..
Is this how it should work?
Or should the if-comparison be different?

Sincerely,
 Reto

Reply via email to