Sling Dynamic Include - declarative caching of partially personalized pages

Friday, 28. September 2012


It's a common situation that the almost whole page is statically generated and therefore could be cached. Unfortunately, there is a one or two dynamic components preventing it. Sling Dynamic Include is a tool which allows to enumerate these components using their resource types and replace them with a server- or client-side include tag, eg. Apache SSI or AJAX. Eventually, the page with the include tags is cached and appropriate components are loaded dynamically.