Register colorA/B as part of the cache index

This commit is contained in:
Thaddee Tyl 2017-01-08 17:26:26 +01:00
parent 2ba7ded391
commit a440c0840b

View File

@ -196,7 +196,8 @@ function cache(f) {
var cacheIndex = match[0] + '?label=' + data.label + '&style=' + data.style
+ '&logo=' + data.logo + '&logoWidth=' + data.logoWidth
+ '&link=' + data.link;
+ '&link=' + JSON.stringify(data.link) + '&colorA=' + data.colorA
+ '&colorB=' + data.colorB;
// Should we return the data right away?
var cached = requestCache.get(cacheIndex);
var cachedVersionSent = false;