More in this section
Forums / Developing with Sitefinity / How to disable caching in MVC widgets?

How to disable caching in MVC widgets?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. Ahmed
    Ahmed avatar
    0 posts
    Registered:
    18 Apr 2017
    06 Jun 2017
    Link to this post

    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?

  2. Ronnie
    Ronnie avatar
    31 posts
    Registered:
    20 Jul 2011
    09 Nov 2017 in reply to Ahmed
    Link to this post

    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

  3. Ahmed
    Ahmed avatar
    0 posts
    Registered:
    18 Apr 2017
    12 Jan in reply to Ronnie
    Link to this post
    I couldn't reach a meaningful solution, so I created a web service, and called it through JS in the end.
3 posts, 0 answered