fix caching issues (#138)

This commit is contained in:
Nordine Bittich
2022-04-20 15:13:37 +02:00
committed by GitHub
parent ae649bfd1a
commit c1a361b338
2 changed files with 19 additions and 0 deletions

View File

@@ -16,6 +16,23 @@ export default [
ignoreFromSelf: true
}
},
{
match: {
graph: {
type: "uri",
value: "http://mu.semte.ch/graphs/organisatieportaal"
}
},
callback: {
url: 'http://resource/.mu/delta',
method: 'POST'
},
options: {
resourceFormat: "v0.0.1",
gracePeriod: 250,
ignoreFromSelf: true
}
},
{
match: {
predicate: {

View File

@@ -62,6 +62,8 @@ services:
logging: *default-logging
resource:
image: semtech/mu-cl-resources:feature-all-errors-as-json-api-errors # Bump to fixed version when merged and release
environment:
CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys"
links:
- db:database
volumes: