Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Dynamic Include 3.1.0
-
None
-
None
Description
Due to the need to append the resource type as a suffix for virtual resources, AEMs Dispatcher is not able to cache those requests. The Dispatcher interprets the URL as having no extension, which makes it uncachable. Example:
<!--#include virtual="/content/test/www/gb/en/_jcr_content/root/header/menu.sdi.html/x/wcm/components/static/menu" -->
Since Sling also allows dots in the suffix adding a fake extension is possible to make it cacheable. Allowing to configure the extension makes it flexible enough to either use TTL or AEM Dispatchers Invalidation with different rules per extension.