Stores size in cache.
Fix cache.