Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ArgumentDescription
cdn REQThe singleton CDN api component. This may be useful if you want to create a CDN which fronts other CDNs, but in most cases you can ignore it.
engine REQ"coldfusion" or "railo". You can use this if your CDN will need to do things differently in each engine.

This function will be called once on application initialisation.

...

ArgumentDescription
config REQThe config struct for the location being queried.
file REQThe file being queried.
admin REQIndicates that the path is for use in the webtop. This is useful when it's appropriate to use a different path in the webtop, such as when the CDN has a cache in front.

Should return a struct in one of the following formats:

...