I'm building a static ASP.NET site (using Masterpages and a few forms) and I'm about to release it onto my production server.
I know about changing <compilation debug="true">
to false, but I'm wondering what other things I can do to obtain the highest speed possible. There is no data access in the site, it's all static content.
Does anyone have a checklist they run through or know of a good resource for setting up sites in a production environment, with a focus on performance?
Checklist so far (Feel free to edit this yourself with any worth additions)
- Make sure
<compilation debug="false" />
is actually set to false in Web.Config - Make sure
<trace enabled="false" />
is actually set to false in Web.Config - Set necessary read/write/modify folder permissions for site
- Enable GZIP in IIS (reduces size of pages/css/javascript dramatically)
- Have you considered OutputCaching for any pages / controls?
- Consider setting up Web Tests (Eg WatiN for .NET) to make sure functionality on your site is still working ok
- Make sure it isn't Friday afternoon!