Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a257251cfa5726b9

Jump to content

Nanoc

From Wikipedia, the free encyclopedia
Nanoc
Original authorDenis Defreyne
Stable release
4.14.6 / December 31, 2025 (2025-12-31)
Written inRuby
LicenseMIT
Websitenanoc.app

Nanoc is a Ruby-based website compiler that generates static HTML.[1] It supports compiling from various markup languages, including Markdown, Textile, and Haml.[2] It can generate and lay out pages with a consistent look and feel. Nanoc is not a content management system, however it acts somewhat like one.[3]

Advantages of Nanoc

[edit]

In comparison to other static site generators, Nanoc has a modular architecture.

Differences from traditional content management systems

[edit]

Although Nanoc sometimes acts as a content management system (CMS), there are many differences.

  • Traditional CMSs must assemble the webpage every time a user requests it. Static HTML pages are pre-assembled and as such do not have to be re-assembled.
  • CMSs run using a server-side language, which exposes the CMS to all the vulnerabilities of the language. Since Nanoc compiles websites to static HTML, the only vulnerabilities are that of the web server itself.
  • The content managed by a CMS can usually be changed at any time through a web interface. Since Nanoc must recompile the website at every change, it is more difficult to modify a website.

References

[edit]
  1. Michlmayr, Martin (2013-03-06). "Static site generators for building web sites". LWN.net. Retrieved 2013-04-25.
  2. Vervloesem, Koen (2012-11-10). "Create a powerful static website with nanoc". Linux User & Developer. Retrieved 2013-04-25.
  3. "About Nanoc". Retrieved 2013-04-25.
[edit]