how to disable image caching
See original GitHub issueI want the images loaded from URL. the images may change every week. the slider won’t load and show new images on the URL. what should I do to disable caching? I also cleared app’s data but couldn’t get new Images. here’s my code from sample:
for (String name : imgList) {
TextSliderView textSliderView = new TextSliderView(mActivity);
textSliderView
.description("")
.image(mActivity.getString(R.string.temp_url) + name)
.setScaleType(BaseSliderView.ScaleType.CenterCrop);
textSliderView.bundle(new Bundle());
textSliderView.getBundle()
.putString("extra", "");
mDemoSlider.addSlider(textSliderView);
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
Disable cache for some images - Stack Overflow
The absolute best way I've found to solve this is to use ETAGS inside a .htaccess file in your images directory. The following...
Read more >How to prevent image from caching in javascript - Ajay Matharu
2 – Another solution is to write a javascript code so that the browser does not pick up image from the cache and...
Read more >Prevent Caching Correctly? - MSDN - Microsoft
Adding a query string to the image URL would prevent the problematic effects of browser caching but it doesn't actually stop the image...
Read more >How to disable your browser cache - Web Instinct
Click on the Network tab, then check the box to Disable cache. Disable Cache in Google Chrome Developer Tools. You can then close...
Read more >Disable image cache? : r/firefox - Reddit
Hi, I have heard many a horror stories about image cacheing and would like to know how to disable. I do not want...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thankx for reply 😃 … But i have already done my project…
On May 21, 2017 11:42 AM, “erlangparasu” notifications@github.com wrote:
@erlangp thanks for your time, But I figured some other way to pass through this problem. I hope it helps others who have my problem