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
5
votes
6 answers

IE7 not Caching CSS Image over SSL

I'm using the WebDevHelper toolbar for Internet Explorer to troubleshoot HTTP requests/roundtrips on my SSL site and noticed that IE re-downloads my CSS :hover images every time they are triggered. This causes a huge amount of roundtrips. How can I…
Alex
  • 75,813
  • 86
  • 255
  • 348
5
votes
2 answers

Permanent Image Caching in iOS

I'm developing an application where I need to download and store images permanently until I manually delete them (in-memory + disk). This is needed because app needs to be able to work offline. I know there are AFNetworking and SDWebImage for…
basar
  • 983
  • 9
  • 16
4
votes
1 answer

Schedule a low-priority task on the main thread

I have a drawRect method that is rather slow (100-200ms). To save time, I need to cache the results. I am doing the actual caching like this: // some code to check if caching would be desirable goes here. If it is desirable,…
William Jockusch
  • 26,513
  • 49
  • 182
  • 323
4
votes
2 answers

How to clear the image cache in a Silverlight desktop application

I'm running a Silverlight out-of-browser desktop application that downloads a bunch of images from an HTTP server. It seems as though Silverlight has a local image cache that it uses for the images, even across multiple instantiations of the…
John McCann
  • 315
  • 1
  • 3
  • 12
4
votes
1 answer

How to save ImageCache to the disk in flutter?

I load lots of image from the internet with Image.network statement and I know the ImageCache only save them until then the app is running. But I want save cache, because I don't want always downloading images, when app starting. So: save cache to…
ZeroProcess
  • 1,140
  • 2
  • 10
  • 21
4
votes
1 answer

Displaying interlaced (progressive) Image in ImageView android

I am trying to display a JPEG image as it downloads like this library but its for IOS is there anything like this in android. While R&D found this but its also for ios. 1) Right now i am using this way to load it works but the overhead is i have to…
4
votes
1 answer

How is Alamofireimage saving the image to disk cache?

I am trying to find out if it's possible to force an image to be saved on disk with Alamofireimage. Looking at the source code, I cannot locate where it is actually saving the image to the disk. Does anyone know?
dickyj
  • 1,830
  • 1
  • 24
  • 41
4
votes
1 answer

How to download image using volley and store in cache while image not in use

I am using volley library to download network responses. I know volley download images when it is needed only. But what I want to achieve is to download all the images at a time and store in my cache memory. So basically I want to download all the…
Kunu
  • 5,078
  • 6
  • 33
  • 61
4
votes
2 answers

Picasso image loading previously cached images

I am using picasso library in my project to fetch url images from the server into my ImageView, but unfortunately picasso loading the previously cached images from disc instead of loading the new images from url. Please find the below piece of code…
Chandru
  • 5,954
  • 11
  • 45
  • 85
4
votes
9 answers

How can I reliably preload and cache my ajax loading image across my site?

I added the following code to my asp.net-mvc site.master page with the goal is making sure this image gets loaded upfront and cached (as I use it all over my site): $(document).ready(function () { var x = new Image(); x.src =…
leora
  • 188,729
  • 360
  • 878
  • 1,366
4
votes
1 answer

CarrierWave: detect if an image has already been uploaded

A model is seeded with a remote url for an image, meaning the db entry it is not created in Rails. Then the first time it is fetched from the DB in Rails I want to detect that the image has not been uploaded, assign the remote_seed_url for the image…
pferrel
  • 5,673
  • 5
  • 30
  • 41
3
votes
1 answer

Coil image caching

I load my images into an android app with the Coil library. And it instantly shows me cached images if there is no internet. But when there is an internet connection, the Coil loads images again, and for a while I see the placeholder. I think it's a…
MaxAstin
  • 463
  • 5
  • 14
3
votes
1 answer

Service Worker: How to cache images that do not have extensions using Workbox

I'm new on service worker in my page i have images without extensions [*.jpg, *.png and etc] like this "www.domain.com/api/media/a2b93f21-1acf-4e5e-9b19-6d7c68aaadc2" which i get them from API. The following code work fine but not for this type of…
Maher
  • 2,517
  • 1
  • 19
  • 32
3
votes
1 answer

load selectedIndexItem in new collectionViewCell (invalidate imageCache)

I am having a lot of trouble loading a CustomImageView: UIImageView in a detail viewController based on the selectedIndexPath of a collectionViewCell. I have successfully passed and loaded the UILabels and UITextViews, but am not able to load the…
3
votes
1 answer

Picasso load images with horizontal lines

I have used Picasso for loading images in my Gallery page with Recyclerview and load images from Server. It works great on all devices good,except Samsung S4 device.In S4 device the images are corrupted and it displays some horizontal lines on all…
Ramprasad
  • 7,981
  • 20
  • 74
  • 135
1 2
3
14 15