Caching
Smartsite iXperion provides a highly scalable, fully multi-threaded and fast application environment, but there are many scenarios for which caching may help creating an even better user experience or enhance scalability.
When caching data, you must always ask yourself the question which level is the best for the job. For example, if you get an Xml result from a webservice and use that same result many times in your SXML logic, the best option is to cache the intermediate Xml. If you have a part of a portal page that shows data that is externally updated, you may choose to cache the full output of that section using an interval. If a part of your site is fully static (depends only of used CMS resources/items to be updated), you may cache the full page output.
In-memory cache | Disk cache | |
---|---|---|
Intermediate objects (datatables, Xml, strings, etc...) | ||
Formatted HTML sections (macro output) | ||
Complete web pages | ||
Binary data (images, pdf, javascript, css, etc...) |