Reply to Re: prevent caching of gd image

Your name:

Reply:


Posted by dave ches on 11/23/05 22:57

Yes, the image is being updated every time you follow the link on

www.companybattleships.com/callingpage.php

you can see that because 6 additional black squares appear on the image
each time you follow that link.

But in your other browser (the one where you arrive at index.php with
not referer) you don't see the latest image: compare the 2 and the
black squares aren't there.

So why is the latest image not being displayed if the headers are in order?

In the example you send, the 2 images:
This image does not set any extra HTTP Headers
and
This image has headers set to prevent caching

are identical, so doesn't that just confirm that the headers don't do as
they are supposed to when drawing in gd images?

regards
dave

AD7six wrote:
> Well that's not an easy one, I can't tell if it's updating or not (on
> any step) ;o).
>
> Are you sure the image is being updated on every request? Compare the
> behaviour of the below link when visiting multiple times & refreshing.
> I think your headers are probably fine and the image is not being
> updated.
>
> http://www.noswad.me.uk/cachetest.html
>
> Regards,
>
> AD7six
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация