How can I minimize the footprint of a website built using MVC. My application currently runs at around 20mb, I’d like to reduce it if possible.
Edit: I’ve switched hosts, problem solved.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
20mb is pretty good! Consider all the libraries and managed resources that need to be brought in to make pretty much any .NET application of notable size work.
If you reach a point where you can point to your application’s memory footprint and say with confidence that is actually causing whatever problem you’re encountering, then get some details together. Use something like Red Gate products to profile your application and see where the memory hogs and bottlenecks are. Trying to guess beforehand never works.
And aside from that, how much memory does your server have? 2gb? 4gb? Of course we should always pay due diligence to making sure our applications aren’t hogs, but at the same time – take advantage of the breathing room modern computing has afforded us!