Core Features
Data Fetching
The process of static-site generation involves generating HTML on the server at build time, and caching the content through a globally distributed CDN. This can lead to improved load times since the server no longer needs to generate a response each time a request is made. This method of rendering data on the server is best used for static content which does not change often.
Some examples of when to use SSG are:The dynamic pages here are all predetermined and statically generated. Because of this, users will not experience any delay since the data on the server is only fetched once at build time.