How to use Zend Cache with SimpleXML objects?
Posted
by Jeremy Hicks
on Stack Overflow
See other posts from Stack Overflow
or by Jeremy Hicks
Published on 2010-03-02T17:52:44Z
Indexed on
2010/04/26
20:53 UTC
Read the original article
Hit count: 329
zend-cache
I'm trying to cache the user timeline of a Twitter feed using Zend_Service_Twitter which returns its results as a SimpleXML object. Unfortunately the regular serialize functions (which Zend Cache uses) don't play nice with SimpleXMl objects. I found this http://www.mail-archive.com/[email protected]/msg18133.html.
So it looks like I'll need to create some kind of custom frontend for Zend Cache to be able to change the serialize function used. Anybody ever done this already or can point me where to look to start?
© Stack Overflow or respective owner