Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  1. {
  2. "behaviors": [
  3. {
  4. "name": "caching",
  5. "options": {
  6. "behavior": "NO_STORE"
  7. }
  8. },
  9. {
  10. "name": "tieredDistribution",
  11. "options": {
  12. "enabled": true
  13. }
  14. },
  15. {
  16. "name": "validateEntityTag",
  17. "options": {
  18. "enabled": false
  19. }
  20. },
  21. {
  22. "name": "removeVary",
  23. "options": {
  24. "enabled": false
  25. }
  26. },
  27. {
  28. "name": "cacheError",
  29. "options": {
  30. "enabled": true,
  31. "preserveStale": true,
  32. "ttl": "9s"
  33. }
  34. },
  35. {
  36. "name": "cacheKeyQueryParams",
  37. "options": {
  38. "behavior": "INCLUDE_ALL_ALPHABETIZE_ORDER"
  39. }
  40. },
  41. {
  42. "name": "prefreshCache",
  43. "options": {
  44. "enabled": true,
  45. "prefreshval": 90
  46. }
  47. },
  48. {
  49. "name": "downstreamCache",
  50. "options": {
  51. "allowBehavior": "LESSER",
  52. "behavior": "ALLOW",
  53. "sendHeaders": "CACHE_CONTROL",
  54. "sendPrivate": false
  55. }
  56. }
  57. ],
  58. "children": [
  59. {
  60. "behaviors": [
  61. {
  62. "name": "caching",
  63. "options": {
  64. "behavior": "MAX_AGE",
  65. "mustRevalidate": false,
  66. "ttl": "7d"
  67. }
  68. }
  69. ],
  70. "comments": "Override the default caching behavior for CSS and JavaScript",
  71. "criteria": [
  72. {
  73. "name": "fileExtension",
  74. "options": {
  75. "matchCaseSensitive": false,
  76. "matchOperator": "IS_ONE_OF",
  77. "values": [
  78. "css",
  79. "js"
  80. ]
  81. }
  82. }
  83. ],
  84. "name": "CSS and JavaScript",
  85. "options": {},
  86. "criteriaMustSatisfy": "any"
  87. },
  88. {
  89. "behaviors": [
  90. {
  91. "name": "caching",
  92. "options": {
  93. "behavior": "MAX_AGE",
  94. "mustRevalidate": false,
  95. "ttl": "30d"
  96. }
  97. }
  98. ],
  99. "comments": "Override the default caching behavior for fonts.",
  100. "criteria": [
  101. {
  102. "name": "fileExtension",
  103. "options": {
  104. "matchCaseSensitive": false,
  105. "matchOperator": "IS_ONE_OF",
  106. "values": [
  107. "eot",
  108. "woff",
  109. "woff2",
  110. "otf",
  111. "ttf"
  112. ]
  113. }
  114. }
  115. ],
  116. "name": "Fonts",
  117. "options": {},
  118. "criteriaMustSatisfy": "any"
  119. },
  120. {
  121. "behaviors": [
  122. {
  123. "name": "caching",
  124. "options": {
  125. "behavior": "MAX_AGE",
  126. "mustRevalidate": false,
  127. "ttl": "30d"
  128. }
  129. }
  130. ],
  131. "comments": "Override the default caching behavior for images.",
  132. "criteria": [
  133. {
  134. "name": "fileExtension",
  135. "options": {
  136. "matchCaseSensitive": false,
  137. "matchOperator": "IS_ONE_OF",
  138. "values": [
  139. "jpg",
  140. "jpeg",
  141. "png",
  142. "gif",
  143. "webp",
  144. "jp2",
  145. "ico",
  146. "svg",
  147. "svgz"
  148. ]
  149. }
  150. }
  151. ],
  152. "name": "Images",
  153. "options": {},
  154. "criteriaMustSatisfy": "any"
  155. },
  156. {
  157. "behaviors": [
  158. {
  159. "name": "caching",
  160. "options": {
  161. "behavior": "MAX_AGE",
  162. "mustRevalidate": false,
  163. "ttl": "7d"
  164. }
  165. }
  166. ],
  167. "comments": "Override the default caching behavior for files. Files containing Personal Identified Information (PII) should require Edge authentication or not be cached at all.",
  168. "criteria": [
  169. {
  170. "name": "fileExtension",
  171. "options": {
  172. "matchCaseSensitive": false,
  173. "matchOperator": "IS_ONE_OF",
  174. "values": [
  175. "pdf",
  176. "doc",
  177. "docx",
  178. "odt"
  179. ]
  180. }
  181. }
  182. ],
  183. "name": "Files",
  184. "options": {},
  185. "criteriaMustSatisfy": "any"
  186. },
  187. {
  188. "behaviors": [
  189. {
  190. "name": "caching",
  191. "options": {
  192. "behavior": "MAX_AGE",
  193. "mustRevalidate": false,
  194. "ttl": "7d"
  195. }
  196. }
  197. ],
  198. "comments": "Override the default caching behavior for other static objects.",
  199. "criteria": [
  200. {
  201. "name": "fileExtension",
  202. "options": {
  203. "matchCaseSensitive": false,
  204. "matchOperator": "IS_ONE_OF",
  205. "values": [
  206. "aif",
  207. "aiff",
  208. "au",
  209. "avi",
  210. "bin",
  211. "bmp",
  212. "cab",
  213. "carb",
  214. "cct",
  215. "cdf",
  216. "class",
  217. "dcr",
  218. "dtd",
  219. "exe",
  220. "flv",
  221. "gcf",
  222. "gff",
  223. "grv",
  224. "hdml",
  225. "hqx",
  226. "ini",
  227. "mov",
  228. "mp3",
  229. "nc",
  230. "pct",
  231. "ppc",
  232. "pws",
  233. "swa",
  234. "swf",
  235. "txt",
  236. "vbs",
  237. "w32",
  238. "wav",
  239. "midi",
  240. "wbmp",
  241. "wml",
  242. "wmlc",
  243. "wmls",
  244. "wmlsc",
  245. "xsd",
  246. "zip",
  247. "pict",
  248. "tif",
  249. "tiff",
  250. "mid",
  251. "jxr",
  252. "jar"
  253. ]
  254. }
  255. }
  256. ],
  257. "name": "Other static objects",
  258. "options": {},
  259. "criteriaMustSatisfy": "any"
  260. },
  261. {
  262. "behaviors": [
  263. {
  264. "name": "caching",
  265. "options": {
  266. "behavior": "NO_STORE"
  267. }
  268. },
  269. {
  270. "name": "cacheKeyQueryParams",
  271. "options": {
  272. "behavior": "IGNORE",
  273. "exactMatch": true,
  274. "parameters": [
  275. "gclid",
  276. "fbclid",
  277. "utm_source",
  278. "utm_campaign",
  279. "utm_medium",
  280. "utm_content"
  281. ]
  282. }
  283. }
  284. ],
  285. "comments": "Override the default caching behavior for HTML pages cached on edge servers.",
  286. "criteria": [
  287. {
  288. "name": "fileExtension",
  289. "options": {
  290. "matchCaseSensitive": false,
  291. "matchOperator": "IS_ONE_OF",
  292. "values": [
  293. "html",
  294. "htm",
  295. "php",
  296. "jsp",
  297. "aspx",
  298. "EMPTY_STRING"
  299. ]
  300. }
  301. }
  302. ],
  303. "name": "HTML pages",
  304. "options": {},
  305. "criteriaMustSatisfy": "all"
  306. },
  307. {
  308. "behaviors": [
  309. {
  310. "name": "cacheRedirect",
  311. "options": {
  312. "enabled": "false"
  313. }
  314. },
  315. {
  316. "name": "chaseRedirects",
  317. "options": {
  318. "enabled": false
  319. }
  320. }
  321. ],
  322. "comments": "Configure caching for HTTP redirects. The redirect is cached for the same TTL as a 200 HTTP response when this feature is enabled.",
  323. "name": "Redirects",
  324. "options": {},
  325. "criteriaMustSatisfy": "all"
  326. },
  327. {
  328. "behaviors": [
  329. {
  330. "name": "cachePost",
  331. "options": {
  332. "enabled": false
  333. }
  334. }
  335. ],
  336. "comments": "Define when HTTP POST requests should be cached. You should enable it under a criteria match.",
  337. "name": "POST responses",
  338. "options": {},
  339. "criteriaMustSatisfy": "all"
  340. },
  341. {
  342. "behaviors": [
  343. {
  344. "name": "graphqlCaching",
  345. "options": {
  346. "enabled": false
  347. }
  348. }
  349. ],
  350. "comments": "Define when your GraphQL queries should be cached.",
  351. "criteria": [
  352. {
  353. "name": "path",
  354. "options": {
  355. "matchCaseSensitive": false,
  356. "matchOperator": "MATCHES_ONE_OF",
  357. "normalize": false,
  358. "values": [
  359. "/graphql"
  360. ]
  361. }
  362. }
  363. ],
  364. "name": "GraphQL",
  365. "options": {},
  366. "criteriaMustSatisfy": "all"
  367. },
  368. {
  369. "behaviors": [
  370. {
  371. "name": "downstreamCache",
  372. "options": {
  373. "behavior": "BUST"
  374. }
  375. }
  376. ],
  377. "comments": "Configure the default client caching behavior for uncacheable content at the edge.",
  378. "criteria": [
  379. {
  380. "name": "cacheability",
  381. "options": {
  382. "matchOperator": "IS_NOT",
  383. "value": "CACHEABLE"
  384. }
  385. },
  386. {
  387. "name": "hostname",
  388. "options": {
  389. "matchOperator": "IS_ONE_OF",
  390. "values": [
  391. "${env.UserID}${env.labname}-test.akaudevops.com"
  392. ]
  393. }
  394. }
  395. ],
  396. "name": "Uncacheable objects",
  397. "options": {},
  398. "criteriaMustSatisfy": "any"
  399. }
  400. ],
  401. "comments": "Control the settings related to caching content at the edge and in the browser. As a result, fewer requests go to your origin, fewer bytes leave your data centers, and your assets are closer to your users.",
  402. "name": "Offload origin",
  403. "options": {},
  404. "criteriaMustSatisfy": "all"
  405. }