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), groovee@cyberdude.com 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
<robertwessel2@yahoo.com> wrote:
On Fri, 9 Aug 2019 00:58:16 -0700 (PDT), groovee@cyberdude.com 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 <1phqkeh0a1uotgg9ub0h1dptuintjiqtnm@4ax.com>,
Robert Wessel <robertwessel2@yahoo.com> wrote:
On Fri, 09 Aug 2019 05:12:11 -0500, Robert Wessel
<robertwessel2@yahoo.com> wrote:
On Fri, 9 Aug 2019 00:58:16 -0700 (PDT), groovee@cyberdude.com 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: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 32:04:18 |
Calls: | 6,648 |
Calls today: | 3 |
Files: | 12,193 |
Messages: | 5,328,594 |