I am attempting to use the cache functionality but I am unable to get it to work.
displaycache = cache.get("displaycache") if displaycache == None: displaycache = 1 else: displaycache += 1 cache.set("displaycache", str(displaycache), ttl_seconds = 600)
The value of displaycache NEVER changes from 1.
I am using this inside code that I am pushing with the API. Does the cache work when pushing with the API?
Any help is appreciated.
Thanks,
Michael