caching.rst
This file
Path
docs/patterns/caching.rst
16 lines · 653 bytes
Last changed by
remove unused ref directivesDavid Lordbefore adoption171aabc
History of this fileTake it
The walk stopped after 200 commits: lines older than 4f3dbb3 point at it.
Merge branch '1.0-maintenance'David Lordbefore adoption4f3dbb3
lines 1–11why, one step back1Caching2=======34When your application runs slow, throw some caches in. Well, at least5it's the easiest way to speed up things. What does a cache do? Say you6have a function that takes some time to complete but the results would7still be good enough if they were 5 minutes old. So then the idea is that8you actually put the result of that calculation into a cache for some9time.1011Flask itself does not provide caching for you, but `Flask-Caching`_, anMerge pull request #3103 from tbm/typosDavid Lordbefore adoption86bf9dc
line 12why, one step back12extension for Flask does. Flask-Caching supports various backends, and it isMerge branch '1.0-maintenance'David Lordbefore adoption4f3dbb3
lines 13–16why, one step back13even possible to develop your own caching backend.141516.. _Flask-Caching: https://flask-caching.readthedocs.io/en/latest/