[Greasemonkey] add prefetch attributes

Mihai Parparita mihai.parparita at gmail.com
Mon May 16 19:14:33 EDT 2005


Or you can serve the result of the GM_xmlhttprequest directly via a
data URL (you'll also need to add a <base href ..> to the received
source so that all relative URLs work).

Sounds fragile, but I've done it and it works surprisingly well.

Mihai

On 5/16/05, Leo Zelevinsky <leo.zelevinsky at gmail.com> wrote:
> The server is wrong here I believe, but I don't think emailing them
> would work too well.
> 
> I used to run a local proxy server to get rid of ads that i think
> could fix this, but it doesn't seem worth it.
> 
> >[...]
> > e-mailing them about it or setting up a local cache that ignores the header.
> 
> What would the last option entail?
> 
> Thanks a lot!
> 
> 
> On 5/16/05, Nikolas Coukouma <lists at atrus.org> wrote:
> > Leo Zelevinsky wrote:
> >
> > >On 5/16/05, Nikolas Coukouma <lists at atrus.org> wrote:
> > >
> > >
> > >>If it's set, that would prevent caching. This is part of the HTTP spec.
> > >>
> > >>
> > >
> > >So can Greasemonkey take that nasty Pragma:no-cache away for me?
> > >
> > >Thanks!
> > >
> > Nope, it's sent by the server. Usually this is because the page is
> > dynamic in some way (e.g. has your name on it or something). If you
> > think the content is cachable and the server's being silly, you can try
> > e-mailing them about it or setting up a local cache that ignores the header.
> >
> > -Nikolas Coukouma
> > _______________________________________________
> > Greasemonkey mailing list
> > Greasemonkey at mozdev.org
> > http://mozdev.org/mailman/listinfo/greasemonkey
> >
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list