Comments (4)
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.
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.
@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.
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)
- Plugins which compile to different paths won't ever be removed from cache HOT 3
- How to use this with gulp-sourcemaps? HOT 4
- Why use gulp-remember when there is gulp-cached? HOT 4
- Order issue, gulp-order not solving it HOT 1
- Adds file back to the stream with wrong path (i.e. path changes that happened after gulp-remember are already applied) HOT 4
- After remembering() files are out of order from their original gulp.src HOT 2
- Letter case HOT 5
- Weird behavior - Forgets source Jade files replacing them with compiled HTML HOT 2
- Not piping what passed through, but piping destination files HOT 2
- Checking for changes accross teams HOT 1
- It does not handle files added and removed after run tasks HOT 1
- remember seems to cache HOT 1
- Replace deprecated dependency gulp-util HOT 1
- expose `caches` to module user HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-remember.