Giter VIP home page Giter VIP logo

Comments (6)

Gru110110110 avatar Gru110110110 commented on June 11, 2024

缓存是需要你代码删掉,请看文档。 没有自动删除一说。

from biscuit.

Gru110110110 avatar Gru110110110 commented on June 11, 2024

另外压缩一张怎么生成20张缓存的? 是压缩了二十次吧?

from biscuit.

lk6233160 avatar lk6233160 commented on June 11, 2024

1、我知道你有预留方法啊,但是图片和缓存默认是在一个文件夹里,如果用.targetDir()这个方法 缓存和压缩好的图片仍然在一起....
2、压缩一张图片 生成了20个缓存文件 不是压缩了二十次

from biscuit.

Gru110110110 avatar Gru110110110 commented on June 11, 2024

现在清除缓存方法是直接删除缓存目录下的文件,所以建议缓存文件位置单独,不要和其他文件混在一起。 另外压缩一张怎么有20张缓存? 这无论从代码还是逻辑都是不可能的。

from biscuit.

lk6233160 avatar lk6233160 commented on June 11, 2024

缓存文件和压缩图片目前用的是一个位置, 只能把你代码copy到项目中改了
至于20个缓存我也很懵逼,我又测试了很多次,不是必现,到目前为止还没发现原因,只能先删除处理,手机是小米2S 系统是5.0.2。

from biscuit.

Gru110110110 avatar Gru110110110 commented on June 11, 2024

缓存目录你是可以配置的啊 不用copy代码呀 引用库之后 在构建那 可以自定义缓存的路径。

from biscuit.

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.