From c17c984546578c9aa81dbb0c43aa3872b887706f Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Mon, 2 Oct 2023 11:48:31 -0600 Subject: [PATCH] WIP features page --- new/features.html | 161 ++++++++++++++++++++++++++++++--- new/resources/css/features.css | 2 +- 2 files changed, 148 insertions(+), 15 deletions(-) diff --git a/new/features.html b/new/features.html index 0e3ac56..e710e7d 100644 --- a/new/features.html +++ b/new/features.html @@ -28,13 +28,13 @@ Overview

- Caddy is essentially a configuration management system that can run various apps like an HTTP server, TLS certificate manager, PKI facilities, and more. It can be extended with plugins known as config modules. At the end of the page, we list capabilities that are provided by known, popular plugins. + Caddy is essentially a configuration management system that can run various apps like an HTTP server, TLS certificate manager, PKI facilities, and more. It can be extended with plugins known as config modules.

- Caddy sports a powerful and flexible HTTP reverse proxy, on-line configuration API, and a robust, production-ready static file server, and serves all sites over HTTPS by default with automagic TLS certificates. + Caddy sports a flexible and powerful HTTP reverse proxy, on-line configuration API, and a robust, production-ready static file server, and serves all sites over HTTPS by default with automagic TLS certificates.

- -

High-level technical specifications

+ +

Overall program technical specifications

@@ -76,27 +76,160 @@

Deployment environments

- Caddy can go practically anywhere and be deployed a variety of ways. + Caddy can go practically anywhere and be deployed a variety of ways. In general, upgrading is as simple as replacing the binary.
    -
  • System service
  • Command line interface
  • +
  • System service
  • Containers
  • Kubernetes
  • +
  • Embedded
+
+

Supply chain and releases

+
+ Go modules verify the integrity of our dependencies and we cryptographically sign our release artifacts so you know what you can trust. +
+
+ Cryptographically verified +
+
+
+

Operating systems

+
+ Caddy runs on every major platform for which Go compiles. +
+
    +
  • Linux
  • +
  • Windows
  • +
  • macOS
  • +
  • FreeBSD
  • +
  • OpenBSD
  • +
  • NetBSD
  • +
  • Android
  • +
+
+
+

Microarchitectures

+
+ Run Caddy with native code on numerous CPU platforms. +
+
    +
  • x86 (i386, i686)
  • +
  • x86-64 (AMD64)
  • +
  • ARM
  • +
  • ARM 64 (AArch64)
  • +
  • MIPS
  • +
  • MIPS64[LE]
  • +
  • PPC64[LE]
  • +
  • RISCV64
  • +
  • S390X
  • +
  • Apple Silicon (Apple ARM; M1, M2, etc.)
  • +
+
+
+

Regular expression engine

+
+ Caddy's regular expression language is based on the Thompson NFA and has numerous performance improvements over PCRE used by other web servers. It guarantees the runtime cost increases linearly instead of exponentially. This is ideal when evaluating untrusted input. +

+ RE2 Syntax +

+
+
+ RE2 +
+
+
+

Concurrency model

+
+ Go's runtime optimizes scheduled CPU time in smarter ways than the operating system can using lightweight user-space threads called goroutines. Caddy easily handles hundreds of thousands of requests per second. +
+
+ Goroutines (epoll + kqueue) +
+
+
+

Plugin model

+
+ Caddy can be extended by compile-time plugins, which compile as native code, in a way that cannot be broken during deployments or by system upgrades. With no IPC or RPC calls, Caddy extensions perform equally well with native code. +
+
+ Compile-time static +
+
- +
-
-

Build artifacts

- Single static binary +
+

App modules

+
+ Top-level configuration structures are called app modules, or Caddy apps. They provide the bulk of Caddy's functionality. Anyone can write app modules, and Caddy comes with several standard apps built-in. +
+
    +
  • HTTP
  • +
  • TLS
  • +
  • PKI
  • +
  • Events
  • +
-
--> +
+

Logs

+
+ Caddy's logging can be configured as to format, verbosity, output, and more. +
+ +
+
+

Storage

+
+ Assets and state are stored in configurable storage modules. Third-party plugins add databases like Postgres and Redis, or orchestrators like Consul and Vault. +
+
+
  • File system
  • +
  • Embedded (in-memory)
  • +
    +
    + + + + + + + + + +
    +
    +

    + Command line interface +

    +

    + Caddy's CLI is not only useful—it's helpful. While most server CLIs stop at running the process and reloading config, Caddy's CLI goes the extra lightyear to help make administering your web server a breeze. +

    +

    + Plugins can register their own subcommands to extend Caddy's CLI. +

    + +
    diff --git a/new/resources/css/features.css b/new/resources/css/features.css index 0792ca0..16dee5f 100644 --- a/new/resources/css/features.css +++ b/new/resources/css/features.css @@ -21,7 +21,7 @@ .feature-list { font-size: 90%; - margin-top: 50px; + margin: 50px 0 100px; } .feature-row {