Static and dynamic content #8469
cordobadigitalmedia
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I just added payloadcms 3.0 beta to my nextjs project to set up a gallery page to be managed in the front-end. Easy to set up, thank you! However, I realized that even in the front-end where the content is rendered, that its generated a serverless functions. This is the page:
https://www.sengoku.ca/gallery
The page loads fast as it's static but the gallery section which is the payload piece, takes several seconds when the function is cold. Is there not a way to make this section also be generated as static since it does not depend on any client functionality.
I used this tutorial
https://www.youtube.com/watch?v=8BXT64lnTXc
Beta Was this translation helpful? Give feedback.
All reactions