शब्दकोश · वेब डेवलपमेंट

Static Site Generator (SSG)

A static site generator builds a website into plain HTML, CSS and JavaScript files ahead of time, so servers only need to deliver files.

अपडेट: अक्टूबर 6, 2026

A static site generator (SSG) is a tool that turns templates and content, such as Markdown files or CMS data, into a folder of ready-made HTML pages during a build step. Examples include Hugo, Jekyll and Eleventy.

Why it matters

Static files are fast, cheap to host, easy to cache on a CDN and have little to attack, since there is no database or server code per request. They are well suited to blogs, documentation and marketing sites. Limits appear with frequently changing or highly personalized content, where each change needs a rebuild.

Example

$ hugo
Start building sites ...
                   | EN
-------------------+-----
  Pages            |  42
Total in 150 ms

The generated public/ folder can be uploaded to any web server or object storage bucket and served directly.

Common mistakes

  • Assuming static means no interactivity. JavaScript and external APIs can still add dynamic features.
  • Forgetting to trigger a rebuild after updating content in a headless CMS.
  • Letting build times grow unchecked on very large sites.

Get notified when this term updates

Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.

यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.