Hello,
My AEM application depends on data from a 3rd party API which will be used to render HTML on the page. I understand data from 3rd party API is recommended to be stored in AEM, so it can improve performance overall effort
- Old aem is recommended to store data under /etc, how about about AEM 6.5?
- How is the 3rd party data, saved as nodes, invalidated?
- How is the data within the saved nodes refreshed?
- What is the best practice to invoke the 3rd party data saving mechanism?
example JSON response from the 3rd party API (2,000 cars):
[
{
"manufacturer":"Porsche",
"model":"911",
"price":135000,
"wiki":"http://en.wikipedia.org/wiki/Porsche_997",
"img":"2004_Porsche_911_Carrera_type_997.jpg"
},
{
"manufacturer":"Nissan",
"model":"GT-R",
"price":80000,
"wiki":"http://en.wikipedia.org/wiki/Nissan_Gt-r",
"img":"250px-Nissan_GT-R.jpg"
},
{
"manufacturer":"BMW",
"model":"M3",
"price":60500,
"wiki":"http://en.wikipedia.org/wiki/Bmw_m3",
"img":"250px-BMW_M3_E92.jpg"
},
{
"manufacturer":"Audi",
"model":"S5",
"price":53000,
"wiki":"http://en.wikipedia.org/wiki/Audi_S5#Audi_S5",
"img":"250px-Audi_S5.jpg"
},
{
"manufacturer":"Audi",
"model":"TT",
"price":40000,
"wiki":"http://en.wikipedia.org/wiki/Audi_TT",
"img":"250px-2007_Audi_TT_Coupe.jpg"
}
...
]