• Docs
Log inTry Fastly free
  • Compute
  • Fastly API
  • Fastly CLI
  • HTTP references
  • Image Optimizer
  • Glossary
  • Change log
  • VCL Reference
    • Declarations
    • Functions
      • Content negotiation
      • Cryptographic
      • Date and time
      • Floating point classifications
      • Headers
      • Math logexp
      • Math rounding
      • Math trig
      • Miscellaneous
      • Query string
      • Randomness
      • Rate limiting
      • Strings
      • TLS and HTTP
      • Table
      • UUID
    • Operators
    • Regular expressions
    • Statements
    • Subroutines
    • Types
    • Variables
  1. Home
  2. Reference documentation
  3. VCL Reference

Functions

Functions are predefined actions that may be invoked with arguments, and return a value. VCL offers a wide range of predefined functions, but currently does not offer the option of defining custom functions.

  • Content negotiation
  • Cryptographic
  • Date and time
  • Floating point classifications
  • Headers
  • Math logexp
  • Math rounding
  • Math trig
  • Miscellaneous
  • Query string
  • Randomness
  • Rate limiting
  • Strings
  • TLS and HTTP
  • Table
  • UUID
Fastly Developers
  • Products
    • Edge Cloud Platform
    • Pricing
    • Try Fastly Free
    • Network Map
  • Solutions
    • Professional Services
    • Managed CDN
    • Support Plans
    • Talk to an Expert
  • Learn
    • Documentation
    • Developers
    • Resource Library
    • Blog
    • Events
  • Support
    • Support Center
    • Network Status
    • Contact Us
  • Company
    • About Us
    • Careers
    • Partners
    • Press Releases
    • Investor Relations
    • Trust
  • Switch to dark theme
© Fastly 2023
  • Terms of service
  • Privacy policy
  • Acceptable Use
  • Twitter
  • LinkedIn
  • Instagram
  • YouTube