1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 08:05:46 +01:00

Refactor cache module to avoid using zip store for smaller items.

This commit is contained in:
Kris Maglione
2014-02-17 13:13:41 -08:00
parent 94a0f80efe
commit 3d925be093
7 changed files with 75 additions and 58 deletions

View File

@@ -60,7 +60,8 @@ var ConfigBase = Class("ConfigBase", {
this.protocolLoaded = true;
this.timeout(function () {
cache.register("config.dtd", () => util.makeDTD(config.dtd));
cache.register("config.dtd", () => util.makeDTD(config.dtd),
true);
});
services["dactyl:"].pages["dtd"] = () => [null, cache.get("config.dtd")];