Cache elements

Relates to:
https://github.com/iplayer/ibl/issues/264