We have a custom controller for some custom functionality which basically calls a web service to fetch some data, depending on certain input parameters from end users. We have enabled output caching for the website but don't want this particular functionality to be cached. Our page has the standard elements like header, footer, banner, etc which are served by CMS and then results are displayed via our custom controller.
In order to achieve this, we have tried using DxaNoOutputCache, NoCache, Cache with a duration of 1 but nothing seems to be working and the page/results get cached every time.
Any thoughts or any help would be appreciated.