Preserve timestamp and TTL when updating cache entry (Feature request #316)