mrachow
Posts: 509
|
| Posted: 10/21/2005, 9:44 AM |
|
Due to some event I'm actually unsure what happens when I issue back on a second page generated from a script (lets assume PHP as scripting languge but it doesn't matter).
I'm on an HTML page generated from script2.php und press backspace. Now I'm returning to the page generated from script1.php.
What will happen before?
Does the browser look at the cached html page or does he ask the server something about script1.php?
Would some meta tag in the generated html file matter or are there some information on the server about script1.php in regard to caching. (for example had the server noted that script1.php had tunred caching of and will then the server send the former generated page again w/o calling script1.php or something like that?
Thanks in advance +
_________________
Best regards,
Michael |
 |
 |
DonB
|
| Posted: 10/29/2005, 8:34 AM |
|
The answer depends upon your browser, and how it is configured. Usually,
the behavior is to just display the locally-cached page, with 'stale' data,
unfortunately. The 'expiration' meta tags, and the actual header directives
these translate into, may or may not be obeyed by the browser. This depends
upon the options/preference settings you have enabled.
There is also server-side caching where you can force pages to be rebuilt
before they are sent, or have them pulled from a server cache. Again, this
is a 'depends' answers.
--
DonB
http://www.gotodon.com/ccbth
"mrachow" <mrachow@forum.codecharge> wrote in message
news:243591af66d8d6@news.codecharge.com...
> Due to some event I'm actually unsure what happens when I issue back on a
> second page generated from a script (lets assume PHP as scripting languge
but
> it doesn't matter).
>
> I'm on an HTML page generated from script2.php und press backspace. Now
I'm
> returning to the page generated from script1.php.
>
> What will happen before?
> Does the browser look at the cached html page or does he ask the server
> something about script1.php?
>
> Would some meta tag in the generated html file matter or are there some
> information on the server about script1.php in regard to caching. (for
example
> had the server noted that script1.php had tunred caching of and will then
the
> server send the former generated page again w/o calling script1.php or
> something like that?
>
> Thanks in advance +
> _________________
> Regards,
> Michael
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|