public List<Nav> GetNavList()
        {
            if (HttpRuntime.Cache.Get("NavList") == null)
            {
                List<Nav> navList = new List<Nav>() { new Nav { ID = 1, ParentID = 0, Title = "首页" }, new Nav { ID = 2, ParentID = 0, Title = "文章" }, new Nav { ID = 3, ParentID = 2, Title = "公司新闻" } };
                HttpRuntime.Cache.Insert("NavList", navList);
                return navList;
            }
            else
            {
                return HttpRuntime.Cache.Get("NavList") as List<Nav>;
            }
        }        public List<Nav> GetNavDropdownList()
        {
            List<Nav> navList = GetNavList();
            List<Nav> navDropdownList = new List<Nav>();
            GetNavListByParentID(navDropdownList, navList, 0);
            return navDropdownList;
        }        public void GetNavListByParentID(List<Nav> navDropdownList, List<Nav> navList, int parentID, string indent = "-")
        {
            var navListByParentID = navList.Where(n => n.ParentID == parentID).ToList();
            if (navListByParentID.Count() > 0)
            {
                foreach (var item in navListByParentID)
                {
                    item.Title = indent + item.Title;
                    navDropdownList.Add(item);
                    GetNavListByParentID(navDropdownList, navList, item.ID, indent + "-");
                }
            }
        }
    public class CacheController : Controller
    {
        Function function = new Function();
        // GET: Cache
        public ActionResult NavList()
        {
            return View("index", function.GetNavList());
        }
        public ActionResult DropdownList()
        {
            return View("index", function.GetNavDropdownList());
        }
    }为什么刷新DropdownList页面后,缓存的值会改变呢?
首次刷新几次过后?