eZpedia : The Free eZ Publish CMS Documentation Encyclopedia

Snippet: PHP Snippet Clearning in-memory object cache

This is compatible with eZ Publish 4.

Clearing the cache

When looping over a big amount of content objects or tree nodes, fetch them in cycles of 100 or less and after each cycle, clear the in-memory object cache:

eZContentObject::clearCache();

External resources

Article provided by eZpedia

All text is available under the terms of the GNU Free Documentation License

Powered by eZ Publish Community Project 4.2011

Hosted by Swiss eZ Publish partner YMC