Expand my Community achievements bar.

Caching HTML5 renditions on Dispatcher

Avatar

Level 2

Hi all, 

 

Can someone suggest me how to cache the HTML5 renditions of a form that is stored under /formsanddocuments in dispatcher? Since the rendition URL looks "http://localhost:4503/content/dam/formsanddocuments/Sample_Test.xdp/jcr:content", Does it mean it should be cached under /content/dam/formsanddocuments ? I could not find any. Is this implementation even possible? i was hoping to cache frequently rendered HTML5 versions and serve them through dispatcher

Thanks,

Abhishek

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Community Advisor

@kolluax you can't cache files without extensions.. please refer to Aem adobe documentation as below 

 

https://experienceleague.adobe.com/en/docs/experience-manager-dispatcher/using/configuring/dispatche...

 

Specifying the Documents to Cache

The /rules property controls which documents are cached according to the document path. Regardless of the /rules property, Dispatcher never caches a document in the following circumstances:

 

Request URI contains a question mark (?).

 

Indicates a dynamic page, such as a search result that does not need to be cached.

The file extension is missing.

 

The web server needs the extension to determine the document type (the MIME-type).

The authentication header is set (configurable).

 

If the AEM instance responds with the following headers:

 

no-cache

no-store

must-revalidate