Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Caching problem

Caching problem

Caching problem

I have built a page wich you can upload picture to. Everything works exept that it open pictures from the cached files. So if i upload a picture named hello.jpg, delete it and upload another picture with the same name, it will show the old picture.
I use <META http-equiv=\"pragma\" content=\"no-cache\"> but it still cache information!
In Explorer I only have to reload the page but in Netscape I first have to delete the cached information and then reload the page. I´m no expert in perl programming so it might be an easy way to solve this, I don´t know. If you know what it is I´m trying to describe and got an solvation, I would be happy to hear your comments.


RE: Caching problem

It caches it on the user's browser, so there is no Perl solution to this problem.  The meta tag you are trying to use only works with proxies, and not browsers.

Caches do expire you know... How many times are people going to see your image and then return right after you change it?  How often are you going to change it?  If either of these frequencies are low, then the only one who is ever going to get a cached image is the developer who is testing it!  There is really nothing you can do about it anyway, so just comfort yourself with the above point.

If you really needed to have high frequency of changing images, then I would have to suggest you use a Java applet.  I can't believe I just said that... only use that solution in the most dire of circumstances.


Tom Anderson
CEO, Order amid Chaos, Inc.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close