Skip to content

Difficulty finding information on "global variables" #426

Open
@davenquinn

Description

@davenquinn

Hello Caddy team,

I'm writing after spending about 15 minutes trying to decipher from the docs whether and how the {http.request.cookie.*} signature was actually available to me in a Caddyfile config. (it is!)

I spent a while trying to search for combinations of "global variables" and scan through the "Caddyfile concepts" docs to see where variables were mentioned. Once I realized that "Placeholders" was the preferred terminology, I was more able to find what I needed. However, this took a while. A few suggestions:

  • Make "Placeholders" appear when "Variables" is searched
  • Add a quick description next to each top-level list item in the "Caddyfile concepts" section. "Variables are called placeholders" is a meta-concept that shows up late.
  • Consider adding the tables of placeholders (global, http-context-limited, etc...) to the "API" section of the docs – I was assuming these would be treated as reference information, but instead they're nested in the conceptual discussion, making them harder to find.

Thanks for all your hard work — the docs are quite fantastic overall and I hope my contribution and beginner's perspective is useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions