Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
499 views
in Technique[技术] by (71.8m points)

performance - href link slow to load

I am using my href as <li><a href="<%=ResolveUrl("~/On_Call_Pages/Accident_Investigation_Team.aspx")%>">Accident Investigation</a></li> When I use this it works fine but takes a long time to load the first time. If I open it a second time it loads alot quicker. But if I refresh the masterpage, it once again takes a long time to load. Am I using the wrong code?
I am using <li><a href="<%=ResolveUrl at the begining because if I don't and I go to another page, then go back to this page, it will not launch.

After some research I find that using href will refresh the entire website, which is the cause for the slowness. So I guess I am asking what can I replace href with or adjust the href, so that the entire website doesn't refresh when clicking on the link and do so without having to create an entire new master page.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...