title: PHP memcache internal objects
body: <p>I have googling for a while and found nothing.</p>
  
  <p>When dealing with internal objects such as DOM or PDO, is it possible to cache them using memcache?</p>
  
  <p>I understand that PDO would likely be irrelevant because the connection is closed at end of script - this could be changed to persistent connections -- making caching more feasible???</p>
  
  <p>Whats really bothering me though, is the lack of documentation on whether its possible to cache the in-memory representation of DOM objects. XML config files could be quite verbose and loading these per request, constructing the DOM, would probably way heavily on the server resources.</p>
  
  <p>Anyone have any experience with caching, specifically DOM objects? Should I opt for a PHP implementation of a DOM just so re-parsing, initializing the DOM isn't necessary each request?</p>