1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cache query results in addon?

Discussion in 'XenForo Development Discussions' started by Liam W, Oct 3, 2013.

  1. Liam W

    Liam W Well-Known Member

    How would I go about caching the result from a database query while the code runs?

    Currently, I have the same query running multiple times. If I could cache it on the first execute, and use the cached value, then delete the cached value when the script stops running, it would significantly reduce queries.

    Is there a way to do this?
  2. Milano

    Milano Well-Known Member

Share This Page