Type to search...

Options

The option part allows you to affect and control the operation of the URL and its other aspects

Format

/o-{option 1}:{parameter}_{option 2}_{option N}

  • prefix: /o-
  • the name of the options and if it has parameters, then colon (:) character and the parameter(s). The parameters mostly separated by comma character (,).
  • multiple options are separated by underscore character (_).

List of options

Options Description Types / values Example
hc-cacheability HTTP cache-control cacheability string: private, public or no-cache hc-cacheability:private
hc-maxage HTTP cache-control max-age relTime hc-maxage:30d, hc-maxage:-
hc-min-fresh HTTP cache-control min-fresh relTime hc-minfresh:30d
hc-s-maxage HTTP cache-control shared maxage relTime hc-s-maxage:30d
url-exp URL expiration date, datetime or timestamp url-exp:1514808000
download browsers offer content to download string: download
nofw skips the firewall rules string: nofw

Value types

Type Name Format Example
date date UTC
2010-01-01 00:00::00 - 2099-12-31 00:00:00
YYYYMMDD 20180101
datetime date + time UTC
2010-01-01 00:00::00 - 2099-12-31 23:59:00
YYYYMMDDhhmm 201801011200
timestamp timestamp
1.000.000.000 - 2.999.999.999
1514808000
relTime relative time <value> + s / m / h / d / w / mo / y
none / -
30d

Example

  • /o-url-exp:1546300800_hc-s-maxage:1d_hc-maxage:3d
    • URL expiry: 2019. January 1., Tuesday 0:00:00 (GMT)
    • CDN max cache lifespan: 1 day
    • Client cache maximum lifespan: 3 days
Table of contents