blueprints.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. name: AdvancedPageCache
  2. slug: advanced-pagecache
  3. type: plugin
  4. version: 3.1.0
  5. description: "AdvancedPageCache turbo charges your site by statically caching pages."
  6. icon: dashboard
  7. author:
  8. name: Team Grav
  9. email: devs@getgrav.org
  10. url: http://getgrav.org
  11. homepage: https://github.com/getgrav/grav-plugin-advanced-pagecache
  12. keywords: "static, cache, plugin, performance"
  13. bugs: https://github.com/getgrav/grav-plugin-advanced-pagecache/issues
  14. license: MIT
  15. dependencies:
  16. - { name: grav, version: '>=1.7.0' }
  17. form:
  18. validation: strict
  19. fields:
  20. enabled:
  21. type: toggle
  22. label: Plugin Status
  23. highlight: 1
  24. default: 1
  25. options:
  26. 1: Enabled
  27. 0: Disabled
  28. validate:
  29. type: bool
  30. disabled_with_params:
  31. type: toggle
  32. label: Disabled with Params
  33. highlight: 1
  34. default: 1
  35. options:
  36. 1: Enabled
  37. 0: Disabled
  38. validate:
  39. type: bool
  40. help: Disable caching if there are params set on the URI (eg. /color:blue)
  41. disabled_with_query:
  42. type: toggle
  43. label: Disabled with Query
  44. highlight: 1
  45. default: 1
  46. options:
  47. 1: Enabled
  48. 0: Disabled
  49. validate:
  50. type: bool
  51. help: Disable caching if there are query options set on the URI (eg. ?color=blue)
  52. disabled_on_login:
  53. type: toggle
  54. label: Disabled for logged in users
  55. highlight: 1
  56. default: 1
  57. options:
  58. 1: Enabled
  59. 0: Disabled
  60. validate:
  61. type: bool
  62. help: Disable caching if the user is logged in
  63. per_user_caching:
  64. type: toggle
  65. label: Per-user caching
  66. highlight: 0
  67. default: 0
  68. options:
  69. 1: Enabled
  70. 0: Disabled
  71. validate:
  72. type: bool
  73. help: Enable per-user caching for logged in users (if caching is not disabled for logged in users)
  74. disabled_extensions:
  75. type: selectize
  76. size: large
  77. placeholder: "e.g. rss, xml, json"
  78. label: Disabled Extensions
  79. help: URL extensions that should not be cached (e.g. for news feeds)
  80. classes: fancy
  81. validate:
  82. type: commalist
  83. whitelist:
  84. type: array
  85. value_only: true
  86. label: Whitelist
  87. help: "Enable the plugin on these page paths regardless of other configuration options (don't include prefix, but do include extension)"
  88. placeholder_key:
  89. placeholder_value: /cache-this-route
  90. blacklist:
  91. type: array
  92. value_only: true
  93. label: Blacklist
  94. help: "Disable the plugin when calling these page paths (don't include language prefix, but do include extension)"
  95. placeholder_key:
  96. placeholder_value: /dont-cache-this-route