move player name cache from localStorage to sessionStorage

this gives a simple method of expiring entries. also, prevents localStorage from filling up with thousands of player names over time
(ideally something controllable with configurable age should be used, but this was a quick and simple change to try first)
This commit is contained in:
Jon Atkins
2013-09-16 22:22:19 +01:00
parent 634759ea22
commit 37131aaf8e
2 changed files with 25 additions and 7 deletions

View File

@ -518,6 +518,7 @@ function boot() {
window.setupTaphold();
window.setupStyles();
window.setupDialogs();
window.setupPlayerNameCache();
window.setupMap();
window.setupGeosearch();
window.setupRedeem();