chrisben / imgcache.js

JS library based on the File API to cache images for offline recovery (target: cordova/phonegap & chrome)
Other
826 stars 216 forks source link

MIME issue #213

Open ChromaticMind opened 7 years ago

ChromaticMind commented 7 years ago

Hey there,

I keep getting this MIME type issue:


imgcache.js:49 INFO: current size: 490829
imgcache.js:49 INFO: File  loaded from cache
Resource interpreted as Image but transferred with MIME type text/plain: "cdvfile://localhost/persistent/ionic-img-cache/36f378d9d6e479ec94ba7bdf5d3eff8ac06432e5".```

Please can you shed some light on this?

Thanks!
adrianmarinica commented 7 years ago

@AshishMehra Is this still an issue? Are you sure you're storing an image file in the cache and not some other file?