Skip to main content
Mario248
Level 7
6月 5, 2022 3:48 上午 UTC
已解决

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 ? 

此主题已关闭回复。
joerghoh
joerghoh回答
Adobe Employee
6月 5, 2022 3:08 下午 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回复

joerghoh
Adobe Employee
joerghohAdobe Employee回答
Adobe Employee
6月 5, 2022 3:08 下午 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" }
  

 

翻译