• 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?

Liam W

Well-known member
#1
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?