• Resolved Edward

    (@kamiyeye)


    If run two same query during one page loading, e.g. twice get_pages(…), will cause one db query or two?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Why would you run an identical query twice? After you run it once you have all the information. You can use it a dozen times if you want without ever re-querying.

    Thread Starter Edward

    (@kamiyeye)

    Dammit, how stupid i was! Thanks make it clear

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Will WordPress auto cache query results?’ is closed to new replies.