Skip to content

Instantly share code, notes, and snippets.

@dcmoore-gd
Last active April 9, 2020 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcmoore-gd/a9d6fcc6dde8f52ed774b8f660551946 to your computer and use it in GitHub Desktop.
Save dcmoore-gd/a9d6fcc6dde8f52ed774b8f660551946 to your computer and use it in GitHub Desktop.
Fastly Backend Name Mangling

Fastly mangles names of backends by prefixing with F_ unless the name consists only of uppercase alpha characters for example ALLCAPS.

All of these example backend names ended up getting F_'d up:

  • ALL_CAPS_WITH_UNDERSCORES
  • ALMOSTALLCAPs
  • Initcap
  • nocaps
  • F_STARTS_WITH_F_UNDERSCORE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment