Optional
onA optional callback called when the entry is deleted from the cache.
Optional
sizeThe entry size, in bytes. It does not have to be an exact value, but it helps the cache determine when to remove entries to save memory.
Optional
ttlThe time to live of this entry, in milliseconds.
The options for a cache entry.