blueprints.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. name: AdvancedPageCache
  2. slug: advanced-pagecache
  3. type: plugin
  4. version: 3.0.2
  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. form:
  16. validation: strict
  17. fields:
  18. enabled:
  19. type: toggle
  20. label: Plugin Status
  21. highlight: 1
  22. default: 1
  23. options:
  24. 1: Enabled
  25. 0: Disabled
  26. validate:
  27. type: bool
  28. disabled_with_params:
  29. type: toggle
  30. label: Disabled with Params
  31. highlight: 1
  32. default: 1
  33. options:
  34. 1: Enabled
  35. 0: Disabled
  36. validate:
  37. type: bool
  38. help: Disable caching if there are params set on the URI (eg. /color:blue)
  39. disabled_with_query:
  40. type: toggle
  41. label: Disabled with Query
  42. highlight: 1
  43. default: 1
  44. options:
  45. 1: Enabled
  46. 0: Disabled
  47. validate:
  48. type: bool
  49. help: Disable caching if there are query options set on the URI (eg. ?color=blue)
  50. disabled_on_login:
  51. type: toggle
  52. label: Disabled for logged in users
  53. highlight: 1
  54. default: 1
  55. options:
  56. 1: Enabled
  57. 0: Disabled
  58. validate:
  59. type: bool
  60. help: Disable caching if the user is logged in
  61. per_user_caching:
  62. type: toggle
  63. label: Per-user caching
  64. highlight: 0
  65. default: 0
  66. options:
  67. 1: Enabled
  68. 0: Disabled
  69. validate:
  70. type: bool
  71. help: Enable per-user caching for logged in users (if caching is not disabled for logged in users)
  72. disabled_extensions:
  73. type: selectize
  74. size: large
  75. placeholder: "e.g. rss, xml, json"
  76. label: Disabled Extensions
  77. help: URL extensions that should not be cached (e.g. for news feeds)
  78. classes: fancy
  79. validate:
  80. type: commalist
  81. whitelist:
  82. type: array
  83. value_only: true
  84. label: Whitelist
  85. help: "Enable the plugin on these page paths regardless of other configuration options (don't include prefix, but do include extension)"
  86. placeholder_key:
  87. placeholder_value: /cache-this-route
  88. blacklist:
  89. type: array
  90. value_only: true
  91. label: Blacklist
  92. help: "Disable the plugin when calling these page paths (don't include language prefix, but do include extension)"
  93. placeholder_key:
  94. placeholder_value: /dont-cache-this-route