index.js
function pushImageSizeAndExpress_flickrJson(imageSize, photo_id){
  if(!enabledCache)return null;
  var d           = new Date();
  var expiresTime = d.getTime() + cachePeriod;
  
  for(var i=0; i < cacheJson.length; i++){
    if(cacheJson[i].fl.photo.id == photo_id){
      cacheJson[i].fl.photo.imgSize = imageSize;
      cacheJson[i].expires = expiresTime;
    }
  }
}
function pushImageSizeAndExpress_flickrJson(imageSize, photo_id){
  if(!enabledCache)return null;
  var d           = new Date();
  var expiresTime = d.getTime() + cachePeriod;
  
  for(var i=0; i < cacheJson.length; i++){
    if(cacheJson[i].fl.photo.id == photo_id){
      cacheJson[i].fl.photo.imgSize = imageSize;
      cacheJson[i].expires = expiresTime;
    }
  }
}
push flickr photos