Skip to content
Snippets Groups Projects
Commit 24859102 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Cache QR codes image generation

The generation of the QR code image is quite slow and makes the page
displaying them take a long time to load when it includes more a few.
The data never changes and can easily be cached (the repr() of the class
is used in the cache key, so if the name or id changes, the cache will
be recomputed - there is no need for a timeout).
parent a9fe8bec
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment