Giter VIP home page Giter VIP logo

Comments (8)

Jacheers avatar Jacheers commented on May 21, 2024

还有一点小失误,在删除浏览记录时,对应的缓存也应该被立即删除。

from pikapika.

niuhuan avatar niuhuan commented on May 21, 2024
  1. 造成这个结果的原因是因为图片缓存了1月,漫画只缓存了两个小时,因为漫画有可能被更新。
  2. 下载的时候如果有缓存会直接从remote提取,详见image.go
  3. 不会从Download复制回remote(原来有这个逻辑后来删除掉了)

from pikapika.

Jacheers avatar Jacheers commented on May 21, 2024

多加个控制选项吧。感觉明知有缓存,前端却又无法显示,就挺难受的。

from pikapika.

niuhuan avatar niuhuan commented on May 21, 2024

我之前有计划网络不通时缓存的读取,一般看过一遍就不看了,离线模式只从缓存读取会比较适合你的需求?

from pikapika.

Jacheers avatar Jacheers commented on May 21, 2024

抱歉迟了,需求确实是像你说的那样。

from pikapika.

Z-fly avatar Z-fly commented on May 21, 2024

多加个控制选项吧。感觉明知有缓存,前端却又无法显示,就挺难受的。

有必要加个控制开关吗,离线模式上不了网的话,只能读缓存

from pikapika.

Jacheers avatar Jacheers commented on May 21, 2024

就是因为读不了缓存啊。明明图片可以缓存一个月,但漫画信息2个小时就没了,导致2个小时以后的漫画都加载不出来。

from pikapika.

niuhuan avatar niuhuan commented on May 21, 2024

如果没有网, 可能会卡在登录页面, 也有可能已经进入了app才离线的。

入口放在哪里, 怎么退出还是要考虑, 这个场景用的比较少, 最好不影响其他用户体验。

(反复要看的内容为什么不用下载呢, 我会先做多线程/多携程下载的功能)。

from pikapika.

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.