Home  >  Q&A  >  body text

javascript - Which method has better performance when returning to a loaded page?

It will take a long time to complete the loading of page a after querying, and enter page b through the link of page a. When page b returns to page a, what should be done to display the previous query results with higher performance

Please give me some advice, thank you

世界只因有你世界只因有你2649 days ago739

reply all(1)I'll reply

  • 黄舟

    黄舟2017-06-26 11:00:57

    Cache page a and determine whether there is a cache for a request. If yes, directly return the content in the cache

    reply
    0
  • Cancelreply