Tag Archives: performance

How can I use the script defer attribute for ASP MVC 4 Bundles with Scripts.Render – Stack Overflow

If you have an MVC bundle that you need to defer or async loading, you can use the following C# classes. public static class UtilityHelper { public static IHtmlString RenderAsyncScript(string virtualPath) { return Scripts.RenderFormat(@”<script src=””{0}”” async></script>”, virtualPath); } public static IHtmlString RenderDefer(string virtualPath) { return Scripts.RenderFormat(@”<script src='{0}’ defer></script>”, virtualPath); } } For example, to load […]

How to animate “box-shadow” with silky smooth performance | Tobias Ahlin

How to animate “box-shadow” with silky smooth performance Source: How to animate “box-shadow” with silky smooth performance | Tobias Ahlin