I was just shopping groceries on a site. I searched "potato" on it and got a list of results. Then I went to some other page. *Then* I happened to click the Back button. Firefox showed me a "We need to resend your query to the server"...blah blah. Whatdoes this mean??? Can Firefox tell the difference between a static page and a dynamic one? What is the relationship between dynamic pages and caching exactly? If a page is dynamic, does that automatically MEAN that the server needs to be hit every time
I suspect what happened was that these guys turned OFF the cache totally for that page - like, why?? :) Are there going to be 2000 different varieties of potatoes being added to the site/sec?? :) If you were the site maker, is there some way to turn offcaching ONLY FOR DYNAMIC PAGES, somehow?? - just out of curiosity?? How?? (nasty Apache conf file fiddling, right?? :( )
On Fri, 9 Aug 2019 00:58:16 -0700 (PDT), [email protected] wrote:does this mean??? Can Firefox tell the difference between a static page and a dynamic one? What is the relationship between dynamic pages and caching exactly? If a page is dynamic, does that automatically MEAN that the server needs to be hit every time
I was just shopping groceries on a site. I searched "potato" on it and got a list of results. Then I went to some other page. *Then* I happened to click the Back button. Firefox showed me a "We need to resend your query to the server"...blah blah. What
off caching ONLY FOR DYNAMIC PAGES, somehow?? - just out of curiosity?? How?? (nasty Apache conf file fiddling, right?? :( )I suspect what happened was that these guys turned OFF the cache totally for that page - like, why?? :) Are there going to be 2000 different varieties of potatoes being added to the site/sec?? :) If you were the site maker, is there some way to turn
If I understand your question correctly, this is the result of a web
page using a POST (as opposed to GET) HTTP request. Unlike GETs,
POSTs may impact state on the server, so cannot be safely (re)sent -
that's what the browser is warning you about. Usually called a
"postback".
On Fri, 09 Aug 2019 05:12:11 -0500, Robert Wessel
<[email protected]> wrote:
On Fri, 9 Aug 2019 00:58:16 -0700 (PDT), [email protected] wrote:
I was just shopping groceries on a site. I searched "potato" on it and got >>a list of results. Then I went to some other page. *Then* I happened to >>click the Back button. Firefox showed me a "We need to resend your query to >>the server"...blah blah. What does this mean??? Can Firefox tell the >>difference between a static page and a dynamic one? What is the >>relationship between dynamic pages and caching exactly? If a page is >>dynamic, does that automatically MEAN that the server needs to be hit every >>time it's fetched? (doesn't APPEAR to be the case - there are other sites >>which do not show this behaviour).
I suspect what happened was that these guys turned OFF the cache totally >>for that page - like, why?? :) Are there going to be 2000 different >>varieties of potatoes being added to the site/sec?? :) If you were the site >>maker, is there some way to turn off caching ONLY FOR DYNAMIC PAGES, >>somehow?? - just out of curiosity?? How?? (nasty Apache conf file fiddling, >>right?? :( )
If I understand your question correctly, this is the result of a web
page using a POST (as opposed to GET) HTTP request. Unlike GETs,
POSTs may impact state on the server, so cannot be safely (re)sent -
that's what the browser is warning you about. Usually called a
"postback".
As to caching, it can be controlled on a per-page basis with the Cache-Control parameter, although it doesn't directly prevent caching,
it is supposed to make the browser use one of the "If-" parameters to validate the page - but that doesn't usually result in the "need to
resend" message.
In article <[email protected]>,
Robert Wessel <[email protected]> wrote:
On Fri, 09 Aug 2019 05:12:11 -0500, Robert Wessel
<[email protected]> wrote:
On Fri, 9 Aug 2019 00:58:16 -0700 (PDT), [email protected] wrote:
I was just shopping groceries on a site. I searched "potato" on it and got >> >>a list of results. Then I went to some other page. *Then* I happened to
click the Back button. Firefox showed me a "We need to resend your query to
the server"...blah blah. What does this mean??? Can Firefox tell the
difference between a static page and a dynamic one? What is the
relationship between dynamic pages and caching exactly? If a page is
dynamic, does that automatically MEAN that the server needs to be hit every
time it's fetched? (doesn't APPEAR to be the case - there are other sites >> >>which do not show this behaviour).
I suspect what happened was that these guys turned OFF the cache totally >> >>for that page - like, why?? :) Are there going to be 2000 different
varieties of potatoes being added to the site/sec?? :) If you were the site
maker, is there some way to turn off caching ONLY FOR DYNAMIC PAGES,
somehow?? - just out of curiosity?? How?? (nasty Apache conf file fiddling,
right?? :( )
If I understand your question correctly, this is the result of a web
page using a POST (as opposed to GET) HTTP request. Unlike GETs,
POSTs may impact state on the server, so cannot be safely (re)sent -
that's what the browser is warning you about. Usually called a
"postback".
As to caching, it can be controlled on a per-page basis with the
Cache-Control parameter, although it doesn't directly prevent caching,
it is supposed to make the browser use one of the "If-" parameters to
validate the page - but that doesn't usually result in the "need to
resend" message.
But browsers never cache the result of a POST, AFAIK, so cache control
is irrelevant there.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (4 / 12) |
| Uptime: | 29:22:32 |
| Calls: | 12,108 |
| Calls today: | 8 |
| Files: | 15,006 |
| Messages: | 6,518,244 |