M
mpaine
I just converted lots of ASP to ASP.NET (using ASP2ASPX) and noticed a
drop in rendering speed. For example, one ASP page takes 0.0313s to be
generated while the ASP.NET version takes 0.4842s. Granted they are
both fast but the ASP speeds makes me think ASP object caching is
better/faster (as the SQL is the exactly the same)
Either that or I don't have something setup correctly (yet). ASP
pages use:
Response.Expires = -1
Response.ExpiresAbsolute = strDatabaseTime - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "No-Store"
for caching while the ASP.NET pages use:
Response.Expires = CInt(- 1)
Response.AddHeader("pragma", "no-cache")
Response.AddHeader("cache-control", "private")
So both should be re-rendered every hit. Do you have any suggestions
where I could start looking or good tools for profiling the diffs?
Thank you,
Michael
drop in rendering speed. For example, one ASP page takes 0.0313s to be
generated while the ASP.NET version takes 0.4842s. Granted they are
both fast but the ASP speeds makes me think ASP object caching is
better/faster (as the SQL is the exactly the same)
Either that or I don't have something setup correctly (yet). ASP
pages use:
Response.Expires = -1
Response.ExpiresAbsolute = strDatabaseTime - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "No-Store"
for caching while the ASP.NET pages use:
Response.Expires = CInt(- 1)
Response.AddHeader("pragma", "no-cache")
Response.AddHeader("cache-control", "private")
So both should be re-rendered every hit. Do you have any suggestions
where I could start looking or good tools for profiling the diffs?
Thank you,
Michael