using the following code
context.Response.StatusCode = 301; context.Response.Redirect(newUrl, true); context.Response.End();
I can see in
301 is cache-able. if you are using ASP.NET 4.0 , you can use RedirectPermanent.
Also, set your statuscode after Redirect
also, look into these answers. Response.Redirect HTTP status code