fix(ssr): verdrahte clear_cache Hooks für content/medialib/navigation/comment/tag
deploy to production / deploy (push) Successful in 42s
deploy to production / deploy (push) Successful in 42s
SSR-Cache wurde nach PUT/POST/DELETE nicht geleert, /de lieferte alte Bilder. Return-Hooks nach sportident-Muster.
This commit is contained in:
@@ -50,6 +50,24 @@ meta:
|
||||
- group: settings
|
||||
label: { de: "Einstellungen", en: "Settings" }
|
||||
|
||||
hooks:
|
||||
get:
|
||||
read:
|
||||
type: javascript
|
||||
file: hooks/filter_public.js
|
||||
post:
|
||||
return:
|
||||
type: javascript
|
||||
file: hooks/clear_cache.js
|
||||
put:
|
||||
return:
|
||||
type: javascript
|
||||
file: hooks/clear_cache.js
|
||||
delete:
|
||||
return:
|
||||
type: javascript
|
||||
file: hooks/clear_cache.js
|
||||
|
||||
permissions:
|
||||
public:
|
||||
methods:
|
||||
|
||||
Reference in New Issue
Block a user