issue102: fix - index caches against domain name rather than hash of encodings

(cherry picked from commit e70c71dc28597085618e6696ddbdfbf9fd290a7a)
(cherry picked from commit 84a05be6d6acba1ec4fa341db7412a1db12832c6)
(cherry picked from commit 144e9bc227cca16e2b097423b6deba77ba917eeb)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #117 from kofemann/iss8052-v2.0

issue102: fix - index caches against domain name