Can sling exporter request get cached in aem? | Community
Skip to main content
Mario248
Level 7
Jun 5, 2022 3:48 AM UTC
Solved

Can sling exporter request get cached in aem?

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 ? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Jun 5, 2022 3:08 PM UTC

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" }
  

 

1 reply

joerghoh
joerghohAccepted solution
Employee
Jun 5, 2022 3:08 PM UTC

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" }
  

 

Translate