Hi all,
I have a snippet that gets a lot of records, caculates an average on some fields and stores that average back in the DB.
Now i want this script to run only once per hour or so to prevent a big load on the DB.
So i figure i put the snippet in my page and let it return a cached value unless the cache is more then 1 hour old.
How can i setup my snippet that it will return a cached result if the cache is less then 1 hour old?
Hope i make myself clear
Tnx
RDG