Disallow caching of certain DAM folder or file | Community
Skip to main content
Riju-Mahna
Level 2
October 16, 2015
Solved

Disallow caching of certain DAM folder or file

  • October 16, 2015
  • 1 reply
  • 1299 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

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-%20/cache

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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-%20/cache