serializing before caching
jacques at powertrip.co.za
Wed Jan 24 20:05:11 UTC 2007
> i am using python-memcached as the client. and i usually need to store
> either a list
> or dictionary. do i need to serialize the data before caching it?
> if i dont serialize and store the data, can the data hold a datetime
> thanks a lot!
Take a look at pickle which comes with python. Normally one makes a
representation of the object when storing data.
More information about the memcached