Comments (5)
We do have the source and dest buffer though. So could compare that. I'm just not sure caching should be a part of image-min.
from imagemin.
Yeah, but how do we know where to look? And we'd still have to optimize the image before comparing it to the dest buffer which kinda makes the caching redundant.
from imagemin.
@kevva disk, sad lol... i really wish ramdisks were a standard OS feature, would make this so much easier.
from imagemin.
Closing this as caching probably should be done somewhere else, preferably in grunt-contrib-imagemin or gulp-imagemin.
from imagemin.
I agree, but keeping it open here so I don't forget. We should also have an example on how to cache in the readme when we figure it out.
from imagemin.
Related Issues (20)
- Error: Cannot find module node:buffer HOT 1
- destination path HOT 1
- Error: EMFILE: too many open files on W10
- gulp-imagemin: Could not load default plugin mozjpeg/optipng
- Not finding any files in my src directory HOT 1
- UnhandledPromiseRejectionWarning:/node_modules/imagemin/index.js:1 (function (exports, require, module, __filename, __dirname) { import {Buffer} from 'node:buffer';SyntaxError: Unexpected token {
- Question : Can we use this package in React-Native as well ? HOT 2
- Errors not thrown in 8.0.1
- Cannot read properties of undefined (reading 'buffer')
- file-type vulnerable to Infinite Loop via malformed MKV file HOT 2
- imagemin looping issue HOT 4
- Is it possible to convert a file coming from HTML input and upload to bucket without saving it to file system?
- No viable alternative to imagemin - applying for maintainer privileges HOT 9
- TypeError: imagemin.svgo is not a function HOT 2
- error on svg HOT 1
- Destination path null HOT 1
- why not build commonjs module ? HOT 1
- imagemin not work (ERR_REQUIRE_ESM) HOT 5
- Imagemin not Optimazing images in Gupl v5
- when basic details as mentioned in gulp docs is ran for imagemin. Result is not showing how much its optimised for v9.0.0 HOT 1
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 imagemin.