c# - Slow page serving on ASP.NET MVC 4 web site -
i'm experiencing slow random response of pages of web site. page takes 1 second load, in cases, unpredictably, can take 10 seconds or worse.
find here screenshot of miniprofiler output:
as can see output, there's in stack of asp.net stuck, while actual code fast enough.
this slowness happens sometimes, during normal navigation of pages (not on page). on local machine pretty fast, while both on production , staging servers (which configured in same way) same problem happens.
i think i'm doing wrong in configuration of server or of web app. or maybe i'm using internal asp.net object (like session) in wrong way.
could me providing hint can drive me correct solution?
thank you
cghersi
though might not answer big comment, writing here... @ moment can think of following checks:
1) verify once bundling , minification done , minified versions rendering browser.
2) if pages slow, can check logic in action methods. how expensive database/service queries called action methods.
3) deploy instrumentation/logging in actions , see duration spent inside actions.
Comments
Post a Comment