diff --git a/src/docs/markdown/caddyfile/concepts.md b/src/docs/markdown/caddyfile/concepts.md index 07219e4..b3599f5 100644 --- a/src/docs/markdown/caddyfile/concepts.md +++ b/src/docs/markdown/caddyfile/concepts.md @@ -25,7 +25,7 @@ This document will help you learn about the HTTP Caddyfile in detail. The Caddyfile's structure can be described visually: -![Caddyfile structure](/resources/images/caddyfile-visual.png) +![Caddyfile structure](/old/resources/images/caddyfile-visual.png) Key points: diff --git a/src/docs/markdown/caddyfile/directives/file_server.md b/src/docs/markdown/caddyfile/directives/file_server.md index 06f79fd..6fb285d 100644 --- a/src/docs/markdown/caddyfile/directives/file_server.md +++ b/src/docs/markdown/caddyfile/directives/file_server.md @@ -51,7 +51,7 @@ file_server [] [browse] { - **browse** enables file listings for requests to directories that do not have an index file. - - **** is an optional custom template file to use for directory listings. Defaults to the template that can be extracted using the command `caddy file-server export-template`, which will print the defaut template to stdout. The embedded template can also be found [here in the source code ![external link](/resources/images/external-link.svg)](https://github.com/caddyserver/caddy/blob/master/modules/caddyhttp/fileserver/browse.html). Browse templates can use actions from [the standard templates module](/docs/modules/http.handlers.templates#docs) as well. + - **** is an optional custom template file to use for directory listings. Defaults to the template that can be extracted using the command `caddy file-server export-template`, which will print the defaut template to stdout. The embedded template can also be found [here in the source code ![external link](/old/resources/images/external-link.svg)](https://github.com/caddyserver/caddy/blob/master/modules/caddyhttp/fileserver/browse.html). Browse templates can use actions from [the standard templates module](/docs/modules/http.handlers.templates#docs) as well. - **precompressed** is the list of encoding formats to search for precompressed sidecar files. Arguments are an ordered list of encoding formats to search for precompressed [sidecar files](https://en.wikipedia.org/wiki/Sidecar_file). Supported formats are `gzip` (`.gz`), `zstd` (`.zst`) and `br` (`.br`). diff --git a/src/docs/markdown/profiling.md b/src/docs/markdown/profiling.md index 3cd30cc..176ae91 100644 --- a/src/docs/markdown/profiling.md +++ b/src/docs/markdown/profiling.md @@ -400,7 +400,7 @@ Bingo. Nearly half of memory is allocated strictly for read and write buffers fr If we instead run the `svg` or `web` commands, we'll get a visualization of the profile: -![CPU profile visualization](/resources/images/profile.png) +![CPU profile visualization](/old/resources/images/profile.png) This is a CPU profile but similar graphs are available for other profile types. @@ -436,7 +436,7 @@ As you can see, we reduced memory allocations by about half! Diffs can be visualized, too: -![CPU profile visualization](/resources/images/profile-diff.png) +![CPU profile visualization](/old/resources/images/profile-diff.png) This makes it really obvious how the changes affected the performance of certain parts of the program. @@ -449,4 +449,4 @@ To really put the "pro" in "profiling", consider these resources: - [pprof Documentation](https://github.com/google/pprof/blob/main/doc/README.md) - [A real-world use of profiles with Caddy](https://github.com/caddyserver/caddy/pull/4978) - [Performance on the Go wiki](https://github.com/golang/go/wiki/Performance) -- [The `net/http/pprof` package](https://pkg.go.dev/net/http/pprof) \ No newline at end of file +- [The `net/http/pprof` package](https://pkg.go.dev/net/http/pprof) diff --git a/src/old/includes/head.html b/src/old/includes/head.html index 0311c67..2e76be6 100644 --- a/src/old/includes/head.html +++ b/src/old/includes/head.html @@ -25,13 +25,13 @@ - + - + diff --git a/src/old/resources/css/home.css b/src/old/resources/css/home.css index c66165a..c15ce73 100644 --- a/src/old/resources/css/home.css +++ b/src/old/resources/css/home.css @@ -3,7 +3,7 @@ body { } .hero { - background-image: url('/resources/images/bg-teal.jpg'); + background-image: url('/old/resources/images/bg-teal.jpg'); background-repeat: no-repeat; background-size: cover; padding-bottom: 100px; @@ -331,4 +331,4 @@ code.rest { .feature { width: 100%; } -} \ No newline at end of file +}