Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Minimize_payload.json 2.3KB

pirms 8 mēnešiem
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "Minimize payload",
  3. "children": [
  4. {
  5. "name": "Compressible objects",
  6. "children": [],
  7. "behaviors": [
  8. {
  9. "name": "gzipResponse",
  10. "options": {
  11. "behavior": "ALWAYS"
  12. }
  13. }
  14. ],
  15. "criteria": [
  16. {
  17. "name": "contentType",
  18. "options": {
  19. "matchCaseSensitive": false,
  20. "matchOperator": "IS_ONE_OF",
  21. "matchWildcard": true,
  22. "values": [
  23. "application/*javascript*",
  24. "application/*json*",
  25. "application/*xml*",
  26. "application/text*",
  27. "application/vnd-ms-fontobject",
  28. "application/vnd.microsoft.icon",
  29. "application/x-font-opentype",
  30. "application/x-font-truetype",
  31. "application/x-font-ttf",
  32. "application/xmlfont/eot",
  33. "font/eot",
  34. "font/opentype",
  35. "font/otf",
  36. "image/svg+xml",
  37. "image/vnd.microsoft.icon",
  38. "image/x-icon",
  39. "text/*",
  40. "application/octet-stream*",
  41. "application/x-font-eot*",
  42. "font/ttf",
  43. "application/font-ttf",
  44. "application/font-sfnt",
  45. "application/x-tgif"
  46. ]
  47. }
  48. }
  49. ],
  50. "criteriaMustSatisfy": "all",
  51. "comments": "Serve gzip compressed content for text-based formats."
  52. }
  53. ],
  54. "behaviors": [],
  55. "criteria": [],
  56. "criteriaMustSatisfy": "all",
  57. "comments": "Control the settings that reduce the size of the delivered content and decrease the number of bytes sent by your properties. This allows you to cut down the network overhead of your website or API."
  58. }