> the idea of on-the-fly "adjusting" the cache seems wrong, why not just > throw it away and have it regenerated? that's a much cleaner solution Why do you find it wrong? From performance point of view selectively cutting whats wrong is faster then regenerating whole cache.