How to handle dispatcher cache for json and images
Hi All,
Can you please suggest best or recommended way to write/manage invalidating dispatcher configuration. We have some JSON services (Content fragments exposed as JSON using sling model). when I publish the content fragment, the changes did not reflects until I manually clear the cache.
For now we have below configuration
/invalidate
{
/0000
{
/glob "*"
/type "deny"
}
/0001
{
/glob "*.html"
/type "allow"
}
}
Please suggest how I can make it work like if I publish the content fragment, the related cached data get clear from dispatcher.
Also please suggest if I need to add any configuration for dam images as well.