{"id":7876,"date":"2026-04-23T10:04:48","date_gmt":"2026-04-23T08:04:48","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=7876"},"modified":"2026-04-23T10:04:49","modified_gmt":"2026-04-23T08:04:49","slug":"ce-este-generarea-site-ului-static-ssg","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-static-site-generation-ssg\/","title":{"rendered":"Ce este generarea de site-uri statice (SSG)?"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">Static Site Generation (SSG) is a development methodology where the entire content of a website is pre-rendered into ready-made HTML, CSS, and JavaScript files during a specific &#8220;build&#8221; phase.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike traditional dynamic websites that build a page only when a visitor clicks a link, an SSG site exists as a complete set of files before the first visitor even arrives. In the <strong>mybox<\/strong> environment, this results in exceptional performance and high security, as the server simply delivers existing files rather than executing complex code on the fly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-static-site-generation-ssg\/#How_SSG_works\" >How SSG works<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-static-site-generation-ssg\/#Advantages_of_Static_Page_Generation\" >Advantages of Static Page Generation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-static-site-generation-ssg\/#Disadvantages_and_Practical_Limitations\" >Disadvantages and Practical Limitations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-static-site-generation-ssg\/#When_to_choose_Static_Site_Generation\" >When to choose Static Site Generation?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-static-site-generation-ssg\/#Popular_SSG_Frameworks\" >Popular SSG Frameworks<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-static-site-generation-ssg\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_SSG_works\"><\/span>How SSG works<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<\/div>\n\n<div id=\"mybox-3823213527\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">The lifecycle of a static site moves the &#8220;work&#8221; from the visitor&#8217;s request time to the developer&#8217;s build time:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Data Sourcing:<\/strong> The generator pulls content from various sources, such as Markdown files, a headless CMS, or external APIs.<\/li>\n\n\n\n<li><strong>The Build Process:<\/strong> A static site generator (like Hugo, Jekyll, or Next.js) processes these templates and data to create individual HTML files for every page of the site.<\/li>\n\n\n\n<li><strong>Deployment:<\/strong> These ready-made files are uploaded to your <strong>mybox<\/strong> storage.<\/li>\n\n\n\n<li><strong>Instant Delivery:<\/strong> When a user visits the site, the server identifies the requested file and delivers it immediately. No database queries or PHP processing are required.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Advantages_of_Static_Page_Generation\"><\/span>Advantages of Static Page Generation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Extreme Speed:<\/strong> Because there is no server-side processing or database communication, pages load almost instantly.<\/li>\n\n\n\n<li><strong>Superior Scalability:<\/strong> Static files are incredibly lightweight. A site using SSG can handle massive traffic spikes with minimal CPU and RAM usage on your <strong>mybox<\/strong> plan.<\/li>\n\n\n\n<li><strong>Enhanced Security:<\/strong> Without a live database or a dynamic backend layer (like the WordPress admin dashboard) constantly exposed to the web, the attack surface is virtually non-existent.<\/li>\n\n\n\n<li><strong>Search Engine Optimization:<\/strong> Search engines favor fast-loading, pre-rendered HTML. SSG ensures that your content is fully visible to crawlers the moment they land on your site.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Disadvantages_and_Practical_Limitations\"><\/span>Disadvantages and Practical Limitations<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>No Real-Time Content:<\/strong> SSG is not suitable for sites that require live updates, such as stock tickers, live sports scores, or highly active comment sections.<\/li>\n\n\n\n<li><strong>Build Duration:<\/strong> For very large websites (tens of thousands of pages), the time it takes to &#8220;rebuild&#8221; the site after a small change can become significant.<\/li>\n\n\n\n<li><strong>Technical Barrier:<\/strong> Setting up an SSG workflow typically requires some familiarity with development tools and deployment pipelines.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"When_to_choose_Static_Site_Generation\"><\/span>When to choose Static Site Generation?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">SSG is the ideal architecture for projects where content stability is more common than constant flux:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Professional Portfolios &amp; Landing Pages:<\/strong> Where speed and visual perfection are paramount.<\/li>\n\n\n\n<li><strong>Technical Documentation:<\/strong> Ideal for searchable, fast, and version-controlled manuals.<\/li>\n\n\n\n<li><strong>Blogs and Newsletters:<\/strong> Where content is published periodically.<\/li>\n\n\n\n<li><strong>Corporate Websites:<\/strong> For sites that primarily serve as a digital business card or information hub.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Popular_SSG_Frameworks\"><\/span>Popular SSG Frameworks<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Next.js:<\/strong> A versatile React framework that allows you to choose SSG for some pages and dynamic rendering for others.<\/li>\n\n\n\n<li><strong>Hugo:<\/strong> Known for its extreme speed, written in Go; it can build thousands of pages in seconds.<\/li>\n\n\n\n<li><strong>Gatsby:<\/strong> Uses GraphQL to pull data from multiple sources into a high-performance React frontend.<\/li>\n\n\n\n<li><strong>Jekyll:<\/strong> The &#8220;classic&#8221; generator, widely used for GitHub Pages and simple documentation.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Static Site Generation is a &#8220;performance-first&#8221; approach to the modern web. By shifting the processing power to the build phase, you ensure that your <strong>mybox<\/strong> resources are used solely for the lightning-fast delivery of content. For projects that don&#8217;t require real-time database interaction, SSG is one of the most stable and secure ways to maintain a web presence.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[28],"manual_kb_tag":[9075,9076,9077,9078,9079,9080,9081,9082,7968,8955],"class_list":["post-7876","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-others","manual_kb_tag-static-site-generator","manual_kb_tag-static-websites","manual_kb_tag-static-website-deployment","manual_kb_tag-prerendered-content","manual_kb_tag-build-time-rendering","manual_kb_tag-content-sourcing","manual_kb_tag-deployment-pipeline","manual_kb_tag-site-performance-optimization","manual_kb_tag-headless-cms","manual_kb_tag-static-site-generation"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7876\/revisions"}],"predecessor-version":[{"id":7877,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7876\/revisions\/7877"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=7876"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=7876"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=7876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}