Skip to content

v5.0.0

Latest

Choose a tag to compare

@JacksonTian JacksonTian released this 10 Apr 04:27

What's Changed

  • add cache penetration solution, simplify store get/setex method by @JacksonTian in #4

Break Changes

The store became more simply. The cachex will auto serialize/deserialize data.

const store = {
  get: async function (key) {
    return await redis.GET(key);
  },
  setex: async function (key, value, expire) {
    await redis.SETEX(key, expire, value);
  }
};

Full Changelog: v4.0.0...v5.0.0