Expand my Community achievements bar.

SOLVED

Disallow caching of certain DAM folder or file

Avatar

Level 3

In my application, all url's with a query param are not cached and are served directly from the server. (ignoreUrlParams property)

Now, I need to disable caching of only a folder in DAM and all its contents. (Say, /content/dam/abc/static/pdf). I am okay with some implementation where I'd have to specify each file's name in the dispatcher.

But a simpler solution with a folder's path will be better, if at all possible

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

HI,

You can configure the cache rules of the dispatcher not to cache certain paths. See [1].

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Configuring%20the%20Dispatcher%20Cache%20...

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

HI,

You can configure the cache rules of the dispatcher not to cache certain paths. See [1].

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Configuring%20the%20Dispatcher%20Cache%20...