ResourceManager = {};

ResourceManager._store = window.localStorage;

ResourceManager.get = function(key) {
  return ResourceManager._store.getItem(key);
};
ResourceManager.save = function(key, data) {
  ResourceManager._store.setItem(key, JSON.stringify(data));
};

ResourceManager.getCacheExpiryDate = function (url) {
	var req = new XMLHttpRequest();
  req.open('GET', url , false);
  req.send(null);
  var date = req.getAllResponseHeaders().split('expires: ')[1].split('\n');
  var d = new Date(date);
  return d.getTime();
};



@@ -256,24 +256,109 @@
 data));%0A%7D;%0A%0A
+ResourceManager.remove = function(key)%7B%0A  ResourceManager._store.removeItem(key);%0A%7D%0A%0A
 ResourceMana

Remove stuff from local storage