A static page is a website created using static HTML, CSS, and JavaScript, meaning that the website does not perform any tasks on the server before the website is served to the user. When a user accesses the website, these static files are immediately transferred from the server to the user's browser.
Jamstack websites use static pages because they provide many benefits, including:
Fast page loading speed: Because the website is created with static HTML, no processing is required on the server before the website is served to the user, so the website can be loaded faster than dynamic websites.
Reduced server load: Static pages can handle load better than dynamic websites because they do not require data processing and static file transmission is "lightweight".
Security: Because there is no server-side processing, static pages are less likely to be attacked by hackers.
Easy management and deployment: Because static pages do not require server-side processing, they can be managed and deployed more easily than dynamic websites.
With these advantages, Jamstack has become a popular choice for web projects that require fast page loading speed, high security, and good scalability.