webimageloader icon indicating copy to clipboard operation
webimageloader copied to clipboard

Flag to ignore cache and force reload

Open ricardopaulob opened this issue 11 years ago • 4 comments

Hi,

Like I said on the previous message, thanks for your contribution. Your code is one of the bests for me.

And, I have only one more issue with this code. I need to set some flag on the API to ignore cache and force the image reload.

Because, I have a form that the user can change the image (profile picture), and after the new upload I call the the API to open the image, but it returns the obsolete cache picture.

Can you please help me on that?

Thanks,

Ricardo

ricardopaulob avatar Jun 04 '13 23:06 ricardopaulob

+1 for this.

vincentjames501 avatar Aug 21 '13 22:08 vincentjames501

Any update on this?

vincentjames501 avatar Sep 02 '13 20:09 vincentjames501

Oh, found it. Construct a Request object and call .addFlag(Request.Flag.IGNORE_CACHE)

vincentjames501 avatar Sep 05 '13 19:09 vincentjames501

+1 for this. Is really necessary!

Maybe you should give at leats the DiskLruCache Object

matecode avatar Feb 05 '14 16:02 matecode