惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
L
LINUX DO - 热门话题
月光博客
月光博客
B
Blog
博客园 - 叶小钗
美团技术团队
D
Docker
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
P
Proofpoint News Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Y
Y Combinator Blog
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 三生石上(FineUI控件)
The Register - Security
The Register - Security
博客园_首页
The Cloudflare Blog
I
InfoQ
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
Engineering at Meta
Engineering at Meta
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Microsoft Azure Blog
Microsoft Azure Blog
有赞技术团队
有赞技术团队
C
CERT Recently Published Vulnerability Notes
AWS News Blog
AWS News Blog
Spread Privacy
Spread Privacy
V
Visual Studio Blog
博客园 - Franky
Cloudbric
Cloudbric
Help Net Security
Help Net Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
N
News and Events Feed by Topic
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Webroot Blog
Webroot Blog
博客园 - 【当耐特】
TaoSecurity Blog
TaoSecurity Blog
B
Blog RSS Feed
N
News | PayPal Newsroom
人人都是产品经理
人人都是产品经理
H
Heimdal Security Blog
L
LangChain Blog
PCI Perspectives
PCI Perspectives
Jina AI
Jina AI
Google DeepMind News
Google DeepMind News
Schneier on Security
Schneier on Security

CloudCannon Blog

Building with AI: Git-based vs headless vs traditional CMS CloudCannon + Astro: performance meets powerful content management Introducing the Astro Component Starter Introducing Jetstream — built on the Astro Component Starter Why we switched to the system font stack Redesigning CloudCannon’s docs with Diátaxis, Lume, and Pagefind Make content editing more visual: upgraded Editable Regions How Configuration Mode makes building editing interfaces easy Your hosting just got an upgrade (and a price cut) Custom testing domains for professional branding Keep your content consistent with input validation Managing multilingual content in CloudCannon Simplify team publishing with conflict resolution and domain tools Open Beta: Publishing Conflict Resolution Getting started with CloudCannon and Astro: Bookshop, components, and live editing Welcome to the CloudCannon Community! Omnichannel delivery is just marketing spin from API-based CMS companies Getting started with CloudCannon and Astro: Snippets and Collections Managing digital assets in CloudCannon: a guide to smart asset storage Understanding CloudCannon's branching workflows and Projects: a complete guide What is a static website? CloudCannon’s 2024 wrapped Getting started with CloudCannon and Astro: WYSIWYG blogging Jamstack vs. WordPress: reasons to make the change The top five static site generators for 2025 (and when to use them!) Free Jekyll themes for 2025: ten great community options Eleventy (11ty) vs. Hugo How to set up WYSIWYG editing with MkDocs Material The rise of static-first websites: why major brands are making the switch Watching your Core Web Vitals on Jamstack Understanding the difference between static, dynamic, and hybrid websites Looking for an alternative to Netlify CMS or Decap CMS? Designing components for your website editors: a CloudCannon case study Does my website look big in this? Six tips to lower your page weight Content is sacred — so own your revision history The eternal balancing act: load time vs. delay time Streamlined Headless Mode, Unified Configuration, and live data editing What is a headless CMS? Looking for a TinaCMS or Tina Cloud alternative? The ultimate guide to Hugo Sections Coming soon: Live config editing and data reloading Faster publishing workflows out now! Why information architecture matters for your website Website UX vs SEO: picking your battles Easily manage your multilingual Astro site in CloudCannon How you can optimize publishing workflows for your content team How you can optimize your CMS for SEO success How you can optimize your Content Editor for long-form articles How you can optimize your Visual Editor for page building Secure, swift, and stable: static sites for the financial sector Enhanced flexibility for teams with Custom Permissions Building static sites that scale The Inaugural 11ty International Symposium on Making Web Sites Real Good How to manage hundreds of connected websites with a Git-based headless CMS How we’re building CloudCannon for accessibility CloudCannon’s new editing improvements are here! Open Beta | New ways to collaborate on editing your websites Top 11 free Eleventy themes for 2024 Top 10 free Astro themes to use in 2024 Why choose a Git-based headless CMS over a monolithic DXP in 2024? Learning web development: a self-guided roadmap Partner Site of the Month: Blüthner Piano Centre, by Winteractive CloudCannon’s 2023 wrapup Let’s create a microblog with visual editing using Bookshop and Eleventy Update and visualize your branches with CloudCannon Projects What is a Git-based CMS and why you should use one CloudCannon secures SOC 2 certification The complete guide to growing your web development agency Automatically optimize your images with Eleventy Image and CloudCannon Share components and syndicate content with Site Mounting Partner Site of the Month: Cru Uncorked, by Ed Meehan New web component for responsive HTML tables Wrapping up HugoConf 2023 Partner Site of the Month: Van Dillen Antieke Bouwmaterialen, by Fulldev How to become a freelance web developer: a comprehensive guide Q3 2023: CloudCannon features and improvements 22 ways to deliver more value to your web development clients Partner Site of the Month: DC Gay Flag Football League, by Ed Cupaioli A new way to configure your CloudCannon sites CloudCannon — the official CMS partner of Eleventy Full CloudCannon support for Nuxt static sites Partner Site of the Month: Stadium Bike, by Insight Creative, Inc. HugoConf 2023, brought to you by CloudCannon DAM Support for Cloudflare R2 and DigitalOcean Spaces Eleventy (11ty) vs. Gatsby in 2023 – which SSG is best for you? How CloudCannon’s live editing works with Astro and Bookshop Partner Site of the Month: Fiducian, by Croissant & Baguette Eleventy (11ty) vs. Astro How to customize CloudCannon’s Client Sharing interface Let anyone, anywhere, edit your CloudCannon sites Top 23 free Astro themes for building out-of-this-world static sites in 2023 How Jampack optimizes our Eleventy website and improves performance Astro vs. Next.js CloudCannon.com is now built with Eleventy! Out-of-this-world support for all Astro users Introducing the CloudCannon Partner Program Full CloudCannon support for Gatsby Top 10 Free SvelteKit Themes for Building Lighting-Fast Static Sites in 2023 Enhanced CloudCannon support for Next.js users Upcoming CloudCannon Interface improvements (Open Beta)
Ten Myths about Static Websites
2022-08-18 · via CloudCannon Blog

If you’ve ever searched out the differences between static websites and dynamic websites, you’re likely to have discovered several questionable — if not outright false — statements about what static websites are and aren’t capable of.

Whether these myths came about from misunderstanding or misinterpretation, let’s set the record straight, shall we?


Myth #1: Static sites are difficult to edit. Direct link to this section

This myth is probably the most common one I came across. I’m guessing it comes either from someone looking at a raw Markdown file, not realizing how simple it can be to edit, or the received wisdom that static site pages have to be edited one by one (see Myth #2 below).

The fact is, there are dozens of static-capable content management systems (CMSs) that make editing static websites as easy as working in a rich text editor. Some, like CloudCannon, even add advanced visual page-building into the mix, so anyone can edit and create static pages, as well as manage the contents of their own website.

​​​​​Myth #2: You have to edit each static page separately. Direct link to this section

Ok, this one’s false, but the misperception is grounded in history. In the 1990s you would have had to duplicate a layout, navigation, or footer across every single one of your site’s pages.

These days, however — and by that I encompass the last twenty years or so — tools called static site generators (SSGs) use templates to build all of a website’s pages. You can design a layout once, and it’s applied to as many pages as you want.

Myth #3: There’s no JavaScript in static sites. Direct link to this section

I’m honestly not sure where this one comes from, or the complicated chain of hearsay that must have given it life.

Some SSGs do not use JavaScript when they build websites; others do, but try to minimize the amount of JavaScript that loads in the client’s browser. What all SSGs share, however, is the capacity to use JavaScript within a webpage if a developer wants to use it.

Direct link to this section

Myth #4: Static sites can’t use external data or APIs Direct link to this section

Static sites commonly use external data stores such as JSON, CSV, XML, YML and TOML. They also use APIs for additional functions such as analytics, commenting, search, and ecommerce.

Myth #5: Static means I can’t use videos or animations. Direct link to this section

This one’s probably based on a literal interpretation of the word ‘static’, meaning unmoving. Let the record show that a static site is static in its delivery method only — the site is built by the SSG, and is then immediately ready for user browsers to load, complete with the full spectrum of CSS animations, and as many embedded videos, and GIFs of cats playing keytars as you’d like.

Direct link to this section

Myth #6: Static is only good for tiny sites. Direct link to this section

Not at all. This could be related to Myth #2, but I’m guessing this one is connected to the ‘build time’, which is how long the SSG takes to construct HTML pages. The truth is, SSGs like Hugo and Eleventy are incredibly fast at building even large sites. A CMS like CloudCannon — the content management layer that acts as a bridge between the user and the more technical SSG — also helps to reduce build time for non-technical users, who are able to edit as they please and build their sites when they choose to do so.

Direct link to this section

Myth #7: Static websites are usually created in simple text editors like Notepad. Direct link to this section

Not as a matter of course. (Unless you really love Notepad.)

Static sites are usually created in two main ways, depending on who’s making them. Non-technical editors (like marketers or copywriters) can create new static sites from a template, and edit them in the browser via a user-friendly CMS. Developers will usually use CLI tools to create their sites locally, and then connect those files to a hosting service (and likely a visual CMS, when they hand off the new site to their content or marketing teams for their ongoing use).

Direct link to this section

Myth #8: The static approach for websites is “old-fashioned” or “simple”. Direct link to this section

Again, this misconception is rooted in web history (static delivery is how the web used to work), and carries with it an unnecessary negative connotation. Static delivery is simple, in the sense that it requires fewer additional services, less computation, less energy, and all else being equal, the webpages load faster. If that’s “old-fashioned”, then color me old-fashioned. What this approach is not, however, is obsolete. In fact, I’d go so far as to suggest that static sites — which have a much smaller stack of interdependent systems than their dynamic equivalents — will have an easier path to adapt to future shifts in web infrastructure.

To be clear, there will always be a use case for both static and dynamic sites. But what people seem to be suggesting with this kind of comment is that web developers should always use the latest and shiniest tools because they’re newer. And that’s great, but only if the site needs them! The truth is, many websites would be better served (faster, more secure) with a static approach.

Myth #9: Static sites “don’t respond to user actions”. Direct link to this section

This myth is a little vague, to be fair, but is the only one that has a kernel of truth. Static sites respond very well to user actions — the pages load incredibly quickly, and together with APIs and JavaScript, offer an excellent user experience for a wide range of use cases.

What static sites don’t do, however, is show different content to different users, based on their viewing habits or a user's past actions on the site.

Direct link to this section

Myth #10: “It can be hard to scale a static website to add new content, once you’ve built the basic structure.” Direct link to this section

As far as scaling your website for massively increased user demand, that’s more to do with how you host your site, rather than a question of ‘static versus dynamic’. Whichever approach you take, you can choose from a wide range of hosts and content delivery networks.

In terms of scaling up a static site with new content, this myth couldn’t be further from the truth — as though (and feel free to imagine my best Don LaFontaine impression here) we lived in a world without content management systems. CMSs solved the problem or adding, editing, and managing pages, assets, and site content many years ago, and we’ve been improving on these processes for a long time.

Most web developers will know that building out the structure and scoping the functionality of a website can be a significant task. Once that’s done, however, adding new content to a static site is as easy as clicking a button within a CMS.

As I’ve mentioned above, CloudCannon exists to make it easier for everyone to create and edit content on static sites. We’ve built our CMS around eliminating or minimizing the real or perceived drawbacks of static sites, all the while augmenting the many benefits of static delivery.


There we have it. Direct link to this section

Well, that's it. The most common myths about static websites I could find, all put to rest with a minimum of fuss and bother. If you’ve heard any other tall tales about static, I’d love to hear them — let me know!