ResponseCache doesn't work RRS feed

  • Question

  • User1572535980 posted

    I have this code

    In startup


    Controller, which I would like to Cache. On each request the program run the code in the controller? 

        [ResponseCache(Duration = 86400)] 
        public ActionResult TestForm()
            string url = Request.GetDisplayUrl();
            return View();

    Monday, July 6, 2020 12:54 AM

All replies