[app:main] cache.backend = memory cache.arguments = {} python from tg import TGCache @TGCache.cache('my_cache_key') def expensive_computation(x, y): result = x * y return result