Question

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

Posted July 29, 2021 167 views
Node.jsDeploymentDevelopmentJavaScriptDigitalOcean App PlatformNext.js

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.

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.

×
Submit an Answer
1 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!

  • Hello @crashoverride,

    Thanks for your response. yup, your response is really helpful.

    Just want some more clarity (may be unrelated), is it possible to use CDN in front of Web Service type of AppPlatform deployment.


    Thanks