Re: Does PHP "cache&quo t; scripts?
StevePBurgess@g mail.com wrote:
<snip>
My guess:
1. You're paying more to your hosting provider and they have some
master-slave architecture for kinda data recovery.
2. Caching issue:
a. Your ISP is caching the pages
b. As your scripting is instructing to cache (so you better post the
link & phpinfo so that someone can dig the HTTP headers and provide
suggestion) or using .html extension (some buggy proxy implementation
will flag it as static page).
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
StevePBurgess@g mail.com wrote:
I've just run the script in Firefox again and noticed something odd.
There are two links, thus:
>
MOVE UP - MOVE DOWN
>
When I click on MOVE UP the database isn't updated but I get this in
the address box when the script returns me to the main page:
>
>
When I click MOVE DOWN the database isn't updated and I get this:
>
>
if I click MOVE UP again I get
>
>
which is the same as the first time I clicked it. The r= variable is
the unix time stamp so either firefox is caching the page or my server
is somehow going back in time! ;o)
>
If I leave it for a while and try again, the number is updated to a new
number (and sometimes the database is updated and the order on the
credits page is changed).
There are two links, thus:
>
MOVE UP - MOVE DOWN
>
When I click on MOVE UP the database isn't updated but I get this in
the address box when the script returns me to the main page:
>
>
When I click MOVE DOWN the database isn't updated and I get this:
>
>
if I click MOVE UP again I get
>
>
which is the same as the first time I clicked it. The r= variable is
the unix time stamp so either firefox is caching the page or my server
is somehow going back in time! ;o)
>
If I leave it for a while and try again, the number is updated to a new
number (and sometimes the database is updated and the order on the
credits page is changed).
My guess:
1. You're paying more to your hosting provider and they have some
master-slave architecture for kinda data recovery.
2. Caching issue:
a. Your ISP is caching the pages
b. As your scripting is instructing to cache (so you better post the
link & phpinfo so that someone can dig the HTTP headers and provide
suggestion) or using .html extension (some buggy proxy implementation
will flag it as static page).
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
Comment