[3128] Caching.

Gist: https://gist.github.com/mjelonek92/f8456333058cec9c8a7f