Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6327631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:18:50+00:00 2026-05-24T17:18:50+00:00

It recently became apparent that my project is caching images. This is an issue

  • 0

It recently became apparent that my project is caching images. This is an issue because the user can upload a new image which does not get reflected until the browser is closed and reloaded (atleast when debugging in IE). I would like to not have to keep re-downloading images over and over again for things that have not changed, as that would very much increase the data we are sending out.

I have tried a couple solutions here and here2

The common factor seems to be that the variable that displays starts clean. But neither of those has worked for me.

I essentially am displaying images in two different ways.

1) I take a string and pass it into the source of an <Image />

2) I turn a string into a URI and turn that into a bitmap behind the scenes which then gets passed into the source of an <Image />

When the image gets updated server side the location of the user’s image stays the same, only the data changes.

The coder doing server side stuff attempted a solution as well. He said he implemented some Cache preventing headers, the result was that the first time the image is requested after it has been updated it retrieves a new image and displays it. Any other places the image would be displayed do not get updated however.

I guess my ideal solution would be that once the user uploads the new image I implement something that notifies anyone that uses that particular URI to grab a new version.

Does anyone know how to selectively stop caching?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:18:50+00:00Added an answer on May 24, 2026 at 5:18 pm

    I would try append a timestamp to the Uri of the image you are requesting, this should help stop the browser (or any proxies) caching

    e.g. http://www.example.com/myimage.jpg?ts=2011081107333454

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently became involved with a new software project which uses SQL Server 2000
I've recently started using the DynamicQuery API , and it quickly became apparent that
I recently became part of a complex embedded project team for which I will
I recently started a project were I wanted the background image to scale to
I have an image that belongs_to a user and to a binary (physical file
I recently became aware that the strdup() function I've enjoyed using so much on
I am working on a legacy project in VC++/Win32/MFC . Recently it became a
I recently became lead on getting an inordinate amount of testing done in a
I recently became interested in iPhone app development, so I've been looking at online
Recently I became the proud owner of an Android 4.0 tablet and have been

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.