Reply to Re: Does PHP "cache" scripts?

Your name:

Reply:


Posted by Andy Hassall on 09/14/06 21:28

On 14 Sep 2006 13:41:23 -0700, StevePBurgess@gmail.com wrote:

>On my own server this works perfectly - but when I upload it to my
>client's shared server it sometimes works and sometimes doesn't. It is
>intermittent.

How do you mean it doesn't work, exactly?

>Could PHP be returning a cached result of the script? If no, what on
>earth can be happening?

PHP doesn't cache scripts. There's extensions like APC that cache the compiled
form of the script, but that doesn't (or shouldn't) have anything to with the
results.

MySQL can be configured to have a cache, but I don't know much about that.

Your browser can cache, but you can send headers that advise the browser not
to cache (look up the Pragma HTTP header).

Your ISP may have "transparent" caching proxies; ntl: are infamous for that.

It could be something much simpler; I don't see any error checking on the
mysql_query calls.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[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

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