RE: [coldbox:10227] cacheBox

Put them in a struct?

What store are you using? You will definitley need to adjust the max object limit of your cache and do some reserach on whether or not an in-process cache will rob too much memory.
Also, reaping performance might suffer from having that many keys in the object store.


I’d try to store a list seperated by pipe characters “|” or some other unique character and split/join by position.

“{id} | {string} | {datetime}”

Definitely going to want to take Brad’s advice and do some cache tuning.


I should note, in my tests, an empty struct appears to be about 18k. That’s why I would keep your data as a string to avoid wasted bytes since you need to cache so much.