With this behavior enabled, you can specify a directory path to be 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.
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
You can't override the base path with other behaviors. For example, if in the Modify Outgoing Request Path behavior you set the Replace the entire path field to
/gifs/hello.gif, this gets appended to the base path:
|Field||What it does|
|Value||Specify the base path of content on your origin server. The value must begin and end with a slash |
Updated 2 months ago