Why aggregates don't have cache in Reactive Web?

Hi,

This may be a silly question but why does the aggregates don't have the option to cache in Reactive Web?

mvp_badge
MVP
Solution

Hi Bruno,

As Douglas correctly states, the Cache in Minutes property is only available in server-side logic for Server-side Aggregates. This property allows storing data using the platform built-in server in-memory cache mechanism.

The Aggregates that we have available inside the Interface tab of Reactive Web Apps to fetch data from the database are Client-side Aggregates. These aggregates run in the client logic and therefore don’t have the option to use the server in-memory cache.

Hope this makes it more clear!

Regards,

Nordin

Hi  Bruno Marques,

This option was for Server action

See if this documentation can help you.

Caching

I hope it's useful

Best reguards.

mvp_badge
MVP
Solution

Hi Bruno,

As Douglas correctly states, the Cache in Minutes property is only available in server-side logic for Server-side Aggregates. This property allows storing data using the platform built-in server in-memory cache mechanism.

The Aggregates that we have available inside the Interface tab of Reactive Web Apps to fetch data from the database are Client-side Aggregates. These aggregates run in the client logic and therefore don’t have the option to use the server in-memory cache.

Hope this makes it more clear!

Regards,

Nordin

Hi Bruno Marques,

Did my answer help you too?

Thanks

Of course. Marked Nordin's answer because is more complete. 

Thank you both 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.