You are here: Re: Browser keeps caching « All PHP « IT news, forums, messages
Re: Browser keeps caching

Posted by ravindra on 09/07/07 04:05

the best way to avoid cache is to append a dummy parameter in all your
requests sent to the server
like
say you have url http://www.yourdomain.com/page.php?id=123&someparameter=aaa

then append that url with a dummy parameter which will have a random
value like ....

"http://www.yourdomain.com/page.php?
id=123&someparameter=aaa&dummy=".rand()

this should ask browser to send request to the server and fetch new
response..
but still images and other things in the page would be cached on the
browser side...if u want to avoid that follow the same procedure for
all the request to the server...

--ravi

 

Navigation:

[Reply to this 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

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