web part

Alex Koshel asked on October 16, 2024 12:00

Hi! I have a web part that sends a request and receives a response that is cached. I need to reset the cache every time when the content manager makes an edit to the web part in Design mode. Is there a necessary event handler for the web part?

Recent Answers


Juraj Ondrus answered on October 17, 2024 06:51

It depends on the caching you are using in your code. I would recommend checking the documentation on available caching options and cache dependency keys in Kentico and alsol review your code.

0 votesVote for this answer Mark as a Correct answer

Alex Koshel answered on October 17, 2024 12:08

I need to reset the cache exactly at the moment when the content manager made changes to the web part and clicked the save button

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.