[Reloadevery] Force reload option
Shāné
qweries at gmail.com
Sun Jan 21 03:49:37 PST 2007
Hi Jaap,
I think this is not because of the expires header. I wrote a simple
JSP to check if I could replicate the behaviour of FF not reloading
the page when I click Go. I could not replicate it. When I request the
JSP it always reloads the page when I hit go. I even tried a couple of
combinations like running the JSP on HTTPS. Still clicking go is
reloading the page. I have no clue why the icicidirect page is not
reloading. Any clues? Ofcourse I am not trying with an ASP on IIS ...
but cant imagine how it could affect this.
Raj
The JSP:
-----
Hello World!
<%
response.setDateHeader("Expires", System.currentTimeMillis()-60000);
response.setHeader("Cache-Control", "private");
%>
-----
On 1/21/07, Shāné <qweries at gmail.com> wrote:
> Hello Jaap,
>
> The site where I am having this problem is:
> https://secure.icicidirect.com/trading/fno/FavList.asp#main
> This is onilne trading site, am not sure you can create an account
> here. But I think the key is in the headers (see below, expires is a
> minute earlier than date).
>
> When this page is opened in the browser, clicking enter in the address
> bar (or clicking on the "go to the address in the location bar") does
> not update the page. Only F5 or Ctrl+F5 (not shift+f5) updates the
> page.
>
> I will try with a JSP which set expires header and try.
>
> Raj
>
> ----------------------------------------------------------
> https://secure.icicidirect.com/trading/fno/FavList.asp#main
>
> GET /trading/fno/FavList.asp HTTP/1.1
> Host: secure.icicidirect.com
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.8,es;q=0.7,gu;q=0.5,de;q=0.3,es-mx;q=0.2
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Cookie: ASPSESSIONIDSQBTDSBA=*snip*
> Cache-Control: max-age=0
>
> HTTP/1.x 200 OK
> Cache-Control: private
> Connection: close
> Date: Sun, 21 Jan 2007 11:21:03 GMT
> Content-Type: text/html
> Expires: Sun, 21 Jan 2007 11:20:03 GMT
> Server: Microsoft-IIS/6.0
> Content-Encoding: gzip
> Vary: Accept-Encoding
> Transfer-Encoding: chunked
> ----------------------------------------------------------
>
>
> On 1/21/07, jaap haitsma <jaap at haitsma.org> wrote:
> > Reloadevery is actually running the code that does a Shift+F5. That
> > command actually bypasses the cache and the proxy.
> >
> > Do you have an example site where you have the problem?
> >
> > Regards
> >
> > Jaap
> >
> >
> > On 1/21/07, Shāné <qweries at gmail.com> wrote:
> > > Hi Jaap,
> > >
> > > Is it possible to add a feature that does a force refresh of the page?
> > >
> > > Some of the pages I want to refresh is being cached (expires header
> > > set to a time older than the current time). So hitting enter in the
> > > address bar, does not reload the page. The page is reloaded only when
> > > i do F5. It appears reloadevery is doing equivalent of hitting enter
> > > in the address bar. Would it be possible to have an option which would
> > > make reloadevery to refresh the page with the header "Cache-Control:
> > > max-age=0"?
> > >
> > > Thanks,
> > > Raj
> > > _______________________________________________
> > > Reloadevery mailing list
> > > Reloadevery at mozdev.org
> > > http://mozdev.org/mailman/listinfo/reloadevery
> > >
> >
>
More information about the Reloadevery
mailing list