This attribute is a ActionFilterAttribute.
This attribute will specify that your request should never be cached.
It's very usefull, especially for ajax call.

        [HttpGet, NoCache]
        public ActionResult Contact()
            LoginModel model = new LoginModel();
            return PartialView(model);

Last edited Jun 12, 2013 at 12:58 PM by jefflequeux, version 1


No comments yet.