You are here

cdn.settings.yml in CDN 8.3

config/install/cdn.settings.yml

File

config/install/cdn.settings.yml
View source
  1. langcode: en
  2. status: false
  3. mapping:
  4. type: simple
  5. domain: null
  6. conditions:
  7. not:
  8. extensions: [css, js]
  9. # Serve all files from a single CDN:
  10. #
  11. # mapping:
  12. # type: simple
  13. # domain: cdn-a.com
  14. # conditions: []
  15. # Serve all files from a single CDN except CSS and JS:
  16. #
  17. # mapping:
  18. # type: simple
  19. # domain: cdn-a.com
  20. # conditions:
  21. # not:
  22. # extensions: [css, js]
  23. # Serve only image files from a single CDN:
  24. #
  25. # mapping:
  26. # type: simple
  27. # domain: cdn-a.com
  28. # conditions:
  29. # extensions: [jpg, jpeg, png]
  30. # Serve CSS & image files from CDN A, downloads from B, everything else from C:
  31. #
  32. # mapping:
  33. # type: complex
  34. # fallback_domain: cdn-c.com
  35. # domains:
  36. # -
  37. # type: simple
  38. # domain: cdn-a.com
  39. # conditions:
  40. # extensions: [css, jpg, jpeg, png]
  41. # -
  42. # type: simple
  43. # domain: cdn-b.com
  44. # conditions:
  45. # extensions: [zip]
  46. # Serve CSS & JS files from CDN A, images from either B or C and nothing else:
  47. #
  48. # mapping:
  49. # type: complex
  50. # fallback_domain: null
  51. # domains:
  52. # -
  53. # type: simple
  54. # domain: cdn-a.com
  55. # conditions:
  56. # extensions: [css, js]
  57. # -
  58. # type: auto-balanced
  59. # domains:
  60. # - cdn-b.com
  61. # - cdn-c.com
  62. # conditions:
  63. # extensions: [jpg, jpeg, png]
  64. # Scheme-relative CDN URLs are generated by default (`//`), but it is possible to generate absolute URLs by setting it
  65. # it to `https://` or `http://`.
  66. scheme: //
  67. farfuture:
  68. status: true
  69. # Public is enabled by default, additional local stream wrappers can be added.
  70. stream_wrappers:
  71. - public