Equivalent of [OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")] in NopCommerce 4.1

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi,

In Nop 3.8 I could add the  [OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")] annotation to prevent caching of controller methods.

What would be the Nop 4.1 equivalent of this annotation?

(why? I have an extra tab in my order admin that needs refreshing whenever content on another tab has changed)

thx
Stefan
5 years ago
You should read about ResponseCache and configure your services accordingly to use them.
5 years ago
thx! got it!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.