// GET: WCRender public ActionResult Index() { var cached = Session["cachedJS"]?.ToString(); if (cached == null) { Session["cachedJS"] = _scriptService.GetWebComponentsBundled(); cached = Session["cachedJS"].ToString(); } return(View("~/Views/NonUmbraco/WCScriptsView.cshtml", new ScriptModel() { Script = cached })); }