Git Product home page Git Product logo

Comments (3)

isaced avatar isaced commented on July 19, 2024 1

定时拉取不环保,做成切回 App 的时候如果超过 10m 自动刷新一下吧,还得在设置里加个开关

对了还可以加个 Command+R 快捷键刷新

from v2exos.

isaced avatar isaced commented on July 19, 2024 1

好提议 👍,客户端理论上可以实现,加个本地缓存层,但有个弊端是如果某段时间没打开过 App,这期间的内容还是漏了。

感觉较为理想的方式是在服务端进行统一缓存和存储,无论是否打开过 App 都能看到「历史最新」和「历史热门」贴,我比较倾向于这个方案,回头在 Deno Depoly 搭一个。

from v2exos.

ryan961 avatar ryan961 commented on July 19, 2024

还有个伪需求就是可以刷新是可以保存刷新历史的帖子(可以搞个配置限制例如只保存最近 7 天)。比如我一直后台开着 v2exos,但我一天都没打开,但我第二天打开的时候,历史的帖子我还都能滚动浏览,不知道这个有望实现不

from v2exos.

Related Issues (19)

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.