How to disable caching in MVC widgets? - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

How to disable caching in MVC widgets?

  • How to disable caching in MVC widgets?
  • Hello,

    I checked many posts on the web, but I couldn't find a reliable way to disable caching in MVC widgets.

    The MVC widget I am working on is a custom SSO login widget. I couldn't get the 'cache dependency' method to work, and I don't want to use REST.

    Do you have any recommendations please?

  • Hello Ahmed,

    How did you solve this ? Did you get any help from Sitefinity Support ?
    We are trying to solve the same problem with our custom widgets ?

    Thanks

  • I couldn't reach a meaningful solution, so I created a web service, and called it through JS in the end.