Code Monkey home page Code Monkey logo

Comments (5)

ibireme avatar ibireme commented on August 11, 2024

嗯。。现在没有这个功能。。

from yycache.

lilin87788 avatar lilin87788 commented on August 11, 2024

有这2 个需求就好了
第一 我想获取本地缓存的 存在的时间
第二 我想根据我给YYCache的时间(duration) 和 和缓存存在的时间 来判断缓存是不是有效

from yycache.

ibireme avatar ibireme commented on August 11, 2024

呃,cache 对外的接口没有暴露这个属性,你可能需要先 fork 来自己改一下了。。

我还是希望对外 API 尽可能简洁,所以要再考虑下这个属性有没有必要暴露给调用者。

from yycache.

lilin87788 avatar lilin87788 commented on August 11, 2024

恩 谢谢了 ,我先关掉 这个 issue

from yycache.

Saraca avatar Saraca commented on August 11, 2024

还是希望加个缓存到期可以不自动清除的功能,标记下缓存是否有效就好。

from yycache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.