Giter Site home page Giter Site logo

Comments (4)

ahaurw01 avatar ahaurw01 commented on September 26, 2024

I haven't fully grokked what you're doing here, but it looks like the problem might be due to using only a single named remember cache (remember('imageResize')) when you might be dealing with multiple sets of files that need to be remembered in their own separated spaces. Could it be that you need a differently named remember cache for each queue you're filling up?

from gulp-remember.

rizalp avatar rizalp commented on September 26, 2024

What I would like to do, is caching the image read into memory. Since the Image is quite large (> 10MB), I think it would be faster and lighter on memory if we only read the Image once, and then down the pipeline operate on that set of cache...

Using different cache name for different presets (like remember('imageResizeHD720')) would defeat that purpose. Or, am I doing something wrong here?

from gulp-remember.

ahaurw01 avatar ahaurw01 commented on September 26, 2024

@rizalp Apologies for the delay in getting back to you. Were you able to find the approach you needed? If you think you came across a weakness of this plugin, I'd be quite grateful for a failing test case.

from gulp-remember.

rizalp avatar rizalp commented on September 26, 2024

Hi there. I realized that the things that I want to do is actually not the way it is supposed to be. I'd like to cache all image file into memory, and output it into several resolution presets with different pipeline. At first I tought that gulp-cached and gulp-remember fit my needs, but actually it is not.

And so, I didn't use it in this task. Besides, OS already do some caching with the read in the buffer. So all is good enough for me

from gulp-remember.

Related Issues (15)

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.