Tech

En till Good Old Blogs webbplats

Caching the results of your functions

Sometimes when you use info-hooks to collect information from a arbitrary number of modules, or perform some other expensive or ”unknown cost” operation, you’ll start to feel the need to cache your results. If your function will be called several times during one request caching in a static variable will take off some of the…

Läs mer