Question

AppPlatform provides access to filesystem for NextJs with webservice for ISSG for caching?

Hello,

I would like to as if someone using AppPlatform web service for nextjs issg data fetching can confirm that AppPlatform give access to filesystem where next server is able to write generated pages and json files to be served to other users? Or is it Global CDN that takes care of serving the html of the pages. secondly how does revalidate time to 60 sec works on App Platform performance.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

👋 @talenthem

If you’re hosting your NextJS application as a Web Service then you will have a filesystem that you can use ISSG against. I would like to highlight that this filesystem is ephemeral and is lost between deployments. I think this should be fine because the new deployment will regenerate the static site increments.

If you’re using App Platform’s static site hosting, it’s a CDN so your site will need to be completely static.

Hope this helps!

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.