trendoid / AspNetCoreWebApplication

Sample ASP.NET Core Application for performance testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AspNet Core Web Application

Sample ASP.NET Core Application for performance testing

Lighthouse Results of 4 x 100

Lighthouse Metrics

Inspiration

View Tweet

Fresh out the box .net 6 MVC site deployed to azure with just a logo.
Google Lighthouse: 8/10 for speed.

Literally just rendering bootstrap, thoughts @shanselman? pic.twitter.com/8FGQ7ZNnVy

Jim (@GolfJimB) November 13, 2021

Steps

There are several steps that depend on your content and testing environment. If you are hosting on Azure, you need to enable HTTP2. If you are testing locally, HTTP2 is probably already running.

You might also have to enable HTTPS with an SSL certificate. All the major cloud providers have mechanisms for free certs. You might also try free certs from Let's Encrypt.

If you are hosting on IIS, take a look at Certify the Web. It's a great GUI tool and not very expensive for production.

Compression

Caching

Removed jQuery

Added SVG Logo

Converted other images to WebP

About

Sample ASP.NET Core Application for performance testing

License:Apache License 2.0


Languages

Language:C# 78.8%Language:HTML 17.0%Language:CSS 3.5%Language:JavaScript 0.8%