I have an object (actually, an array of objects) that’s 302MB. When I try to cache it with memcached it doesn’t work, no matter how much memory I give memcached, apparently because memcached has a 1MB limit on objects that it can cache. (I might be wrong about that last part. I haven’t been able to find great documentation.)
Any suggestions on how to cache this thing? I’m using PHP/symfony on Linux.
Quoting
However, even when increasing the memory, this is hardly a good choice IMO. A better idea would be to break the object apart into smaller pieces and then cache indididual parts of it.
Quoting Why are items limited to 1 megabyte in size?