Questions tagged [image-caching]

Image cache reduces client-server requests for images.Image cache is useful for fast retrieval of images. we can store server side images in application using image cache and retrieve any time when we want even if server connected or not.

222 questions
0
votes
2 answers

How do I release cached images when using UIImage(data:)?

I'm noticing heavy memory usage from my image cache in my collection view and need to understand how to release it. I understand the difference between UIImage(named:) and UIImage(contentsOfFile:). However, I'm using UIImage(data:) and I can't seem…
0
votes
0 answers

Cache images from API (Unsplash) React-Native

I search for images and fetching them from UnSplash API but I want to cache images. Suppose I am getting 30 images I want to cache them all and store them. If I search for that same image again I want to display them For example : I searched for CAT…
0
votes
1 answer

How to maintain an image cache in Pressflow with a load balancer?

I am planning to make a load-balancer for my website. It is Pressflow 6.20. How can I maintain an image cache in the two servers? I need something other than NFS, since NFS will cause overload and will break the website in case that the server, that…
Alaa
  • 4,471
  • 11
  • 50
  • 67
0
votes
1 answer

what is the best procedure to store bulk list of images as blobs in browser cache?

Currently i am using localForage and caching axios request which stores image blobs with over 2 gb image list , user frequently uses this images so i need to cache this in browser
0
votes
1 answer

Issue with code for retrieving an image from firebase

Hi I am getting this error when I implement this code Cannot convert value of type 'URL' to expected argument type 'String' I know what it means but is there a way I can change the code below to work? var userProfile: UserProfile?{ didSet{ …
0
votes
1 answer

How to implement image caching in nativescript angular

I am implementing Nativescript app with angular and want to do image caching. Nativescript documentation only shows how to work with view but not angular. I have found this topic: how do i cache images in nativescript angular but answer does not…
0
votes
1 answer

How to improve performance for oftenly using bitmaps in c#?

I am trying to make an image checker. Basically it checks a big image (usually changes) contain an img (never changes) or not. So, to imporve performance, i'm looking for a way to keep this image on memory so i don't go to the disc everytime for…
user3565914
  • 51
  • 1
  • 9
0
votes
1 answer

How to output the cached image with Intervention Image Cache?

I've managed to get the standard Intervention Image to work, but I can't for the life of me get it to work with the cache system. I'm using this on a standard PHP setup with no framework. This is my code // import the Intervention Image Manager…
dpDesignz
  • 1,909
  • 10
  • 34
  • 70
0
votes
4 answers

Caching images in ionic 4

I am working on ionic 4 app which includes swiping of images to left or right. Currently the images are fetched from the server every time which causes a delay in image loading. Could any one suggest an efficient way to cache or preload the images…
Obscure Bug
  • 67
  • 3
  • 5
0
votes
1 answer

Cannot make Gregwar/Image working in laravel

I installed the Gregwar/Image package ( https://github.com/Gregwar/Image ) to laravel, I changed the caching directory to $cacheDir = '/public/cache/images/';, I can generate cached image in php artisan tinker, but when I use it in blade template or…
user5665082
0
votes
2 answers

Prevent reloading images on route change - Angular 6

I have a component in my Angular app. It has a div, which has a background image set to a variable in the component class like this:
.......
Whenever I navigate to…
Danish
  • 694
  • 1
  • 7
  • 15
0
votes
5 answers

Image downloading and caching issue

I am downloading images from server and showing it in collectionView. I am caching the Images so that user got fast server response and no glitches in UI. Until the image is not downloaded I added placeholder image too. But in my output, the image…
dahiya_boy
  • 9,298
  • 1
  • 30
  • 51
0
votes
2 answers

Caching in AWS socket S3 bucket

What my requirement is "I have an application that downloads images from the amazon s3 bucket. And I need to cache those images, I used normal cache for doing it. But I need to implement the cache technique same as that of SDWebImage". How the…
0
votes
1 answer

Intervention Image Resize and Caching in Laravel

When I uploaded an image ( example: user/1/user_profile_img.jpg ), I want intervention image to create multiple thumbnail sizes ( 100x100, 200x200, 400x400 etc ), these sizes will be use in different pages to improve the pagespeed score. Should I…
vasiline
  • 55
  • 1
  • 6
0
votes
0 answers

App crashes when there is no image Swift 4

My app which I have made in swift 4 crashes when a news provider does not have an image! So when I scroll over an article which does not have an image it crashes and I get the error: Thread 1: Fatal error: Unexpectedly found nil while unwrapping an…
Techitout
  • 37
  • 1
  • 7