caching of plasmic responses

we are fetching plasmic

using

return await PLASMIC.maybeFetchComponentData(…paths)

we have to use getServerSideProps for now, so fetching of plasmic is coupled with a request.

Since plasmic had comparably many outages in the last months (a larger one 19 days ago at 2026-03-04, but also some shorter once since then), we have to de-couple plasmic from our request.

ISR would probably better with static props, but we are currently stuck with getServerSideProps

we area already using a CDN, which mitigates the problem a bit.

what are some other strategies to cache plasmic data for short time? I saw that when you init plasmic with initPlasmicLoader, you can pass a cache object which has a get, set. However since the getter has no param, i assume it caches all data in one record. .

You are good to use getServerSideProps and depend on Plasmic, but make sure you have preview: false to ensure that you are hitting our CDN. Our CDN was not affected by the outage last month.

we have preview: false

and we were still affected