Liam W
in memoriam 1998-2020
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?
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?