Facebook Twitter Instagram YouTube LinkedIn WhatsApp
    Facebook Twitter Instagram LinkedIn WhatsApp
    ZaveRizwanZaveRizwan
    Subscribe
    • Home
    • Features
      • Example Post
      • Typography
      • Contact
      • View All On Demos
    • Mobiles
    • Typography
    • Mobiles
      • Tech
      • Gadgets
      • Insights
    • Buy Now
    ZaveRizwanZaveRizwan
    Behavior

    Origin Base Path

    zaiveeBy zaiveeFebruary 6, 2023No Comments1 Min Read

    With this behavior enabled, you can specify a directory path that is appended to requests for your origin.

    If you change the origin’s base path, you’ll affect an existing cache key. Until the cache is resolved to sync with the new path, you may see a traffic spike at your origin server.

    How it works

    Let’s assume that your origin is example.com. If you set the Origin Base Path behavior to /images, your base path is updated to example.com/images. Any request for a my_pics/home.jpg file resolves on the origin server to example.com/images/my_pics/home.jpg. The property configuration routes it to example.com/images/my_pics/home.jpg.

    Features and options
    Field What it does
    Value Specify the base path of content on your origin server. The value must begin and end with a slash / character, for example/parent/child/. You can use variables in this field.

    Related Posts

    webdav

    February 6, 2023

    modifyOutgoingResponseHeader

    February 6, 2023

    tieredDistribution

    February 6, 2023
    Add A Comment

    Leave A Reply Cancel Reply

    © 2023 ZaveRizwan. Designed by ZaveRizwan.
    • Home
    • Tech
    • Gadgets
    • Mobiles
    • Buy Now

    Type above and press Enter to search. Press Esc to cancel.