tpl: Use hash for cache key
authorJake Howard <RealOrangeOne@users.noreply.github.com>
Fri, 21 Jul 2017 11:10:11 +0000 (12:10 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 21 Jul 2017 11:10:11 +0000 (13:10 +0200)
commit6cd33f6953671edb13d42dcb15746bd10df3428b
treee6869630c9860d5fa4c88385066884b8c8c4be33
parentdbe63970e09313dec287816ab070b5c2f5a13b1b
tpl: Use hash for cache key

Use a hash for the cache key, to fix 'file name too long' errors when retreiving from long urls

Fixes #3690
tpl/data/cache.go