Creates a md5 for cache invalidation, stores or appends to json file