Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

Can sling exporter request get cached in aem?

Avatar

Level 6

I am planning to use sling exporter to expose few properties to front end application to build a presentation layer. by default all get request get cached in dispatcher. since it is exporter and json response, just want to know how aem manages cache ? Is there any best practice for caching sling exporter ? 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

of course you can cache the .mode.json requests on the dispatcher. Just add matching caching rules there.

 

/rules
 /2323  { /glob "*model.json" /type "allow" }
  

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

of course you can cache the .mode.json requests on the dispatcher. Just add matching caching rules there.

 

/rules
 /2323  { /glob "*model.json" /type "allow" }