RE: No-caching for SVG's

2002-07-10 Thread Geoff Howard

Sorry, was out of town for a while and unable to keep up with the list.  Did
you get this to work?

Geoff Howard

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: No-caching for SVG's

2002-07-02 Thread Morrison, John

The only references I've found are here: (URL may wrap)

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=102242010332543&w=2

I've not used it myself.  If you need more specific information
ask on the dev list of the people involved in this thread.

If you do manage to get this to work, would you mind terribly if
I asked you to post a FAQ?

Thanks,

J.

> From: Spectron International, Inc. [mailto:[EMAIL PROTECTED]]
> 
> I'm using 2.1dev (HEAD?) and the browser is IE and/or 
> Netscape. I'm already
> using the .
> 
> This works for the page but not the SVG inside the page. 
> Right now when I
> click on a link that will display an SVG it works, but if I 
> click 'Back' and
> then click on the same link again it changes the page 
> contents but not the
> SVG, I have to click on 'Refresh' to update the graph. Is 
> there a way to
> refresh the SVG as well?
> 
> I read here, that if I sent an 'Expires' or 'Last modified' 
> header to the
> browser, the graph wouldn't be cached by the browser, and 
> that HEAD had the
> 'Expires' changes. I just want to know how to use Expires or 
> what should I
> do to add headers to the response in Cocoon. Should I make a 
> new serializet,
> can I use an action?
> 
> Faw
> 
> From: "Morrison, John" <[EMAIL PROTECTED]>
> 
> > I think you got drown'd in a thread war, sorry :)
> >
> > You don't say what version of Cocoon you are using or what
> > browser you are targeting.  The way around this (for the
> > latest cvs version of Cocoon) is to wrap anything you don't
> > want caching in a
> >
> > 
> >
> > pipeline.
> >
> > Give it a try, it works for me ;)
> >
> > J.


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: No-caching for SVG's

2002-07-01 Thread Spectron International, Inc.

I'm using 2.1dev (HEAD?) and the browser is IE and/or Netscape. I'm already
using the .

This works for the page but not the SVG inside the page. Right now when I
click on a link that will display an SVG it works, but if I click 'Back' and
then click on the same link again it changes the page contents but not the
SVG, I have to click on 'Refresh' to update the graph. Is there a way to
refresh the SVG as well?

I read here, that if I sent an 'Expires' or 'Last modified' header to the
browser, the graph wouldn't be cached by the browser, and that HEAD had the
'Expires' changes. I just want to know how to use Expires or what should I
do to add headers to the response in Cocoon. Should I make a new serializet,
can I use an action?

Faw

- Original Message -
From: "Morrison, John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 01, 2002 4:50 AM
Subject: RE: No-caching for SVG's


> I think you got drown'd in a thread war, sorry :)
>
> You don't say what version of Cocoon you are using or what
> browser you are targeting.  The way around this (for the
> latest cvs version of Cocoon) is to wrap anything you don't
> want caching in a
>
> 
>
> pipeline.
>
> Give it a try, it works for me ;)
>
> J.
>
> PS, if you reply to replies would you mind trimming excess off :)


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: No-caching for SVG's

2002-07-01 Thread Morrison, John

I think you got drown'd in a thread war, sorry :)

You don't say what version of Cocoon you are using or what
browser you are targeting.  The way around this (for the
latest cvs version of Cocoon) is to wrap anything you don't
want caching in a



pipeline.

Give it a try, it works for me ;)

J.

PS, if you reply to replies would you mind trimming excess off :)

> From: Spectron International, Inc. [mailto:[EMAIL PROTECTED]]
> 
> Ok, if nobody knows,  how about telling me in where in the 
> CVS repository
> (class name) could it be?
> 
> Faw
> 
> From: "Spectron International, Inc." <[EMAIL PROTECTED]>
> 
> > Does anyone knows how do the EXPIRES works in cocoon-2.1?
> >
> > Faw
> >
> > From: "Spectron International, Inc." <[EMAIL PROTECTED]>
> >
> > > Any answer to this?
> > >
> > > From: "Spectron International, Inc." <[EMAIL PROTECTED]>
> > > > Found that EXPIRES was added to HEAD in this message:
> > > >
> > > > 
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102343531609919&w=2
> > > >
> > > > Now, what do I have to add to the sitemap to make it work?
> > > >
> > > > Faw
> > > >
> > > > From: "Geoff Howard" <[EMAIL PROTECTED]>
> > > >
> > > > > I think that browsers are more aggressive caching 
> images than html.
> > The
> > > > > assumption seems to be that images do not change as 
> often.  That's
> not
> > > > > authoritative, just my theory from experience trying 
> to do things
> like
> > > > what
> > > > > you're doing.  The good news is that browsers should respect a
> > > > last-modified
> > > > > http header, and/or an expires header set in the 
> past.  Probably the
> > > > second
> > > > > is more important.  What I don't know is if cocoon 
> has currently
> > working
> > > > > functionality to set those headers.  I remember a 
> past discussion
> > where
> > > I
> > > > > thought this was in the process of being fixed.
> > > > >
> > > > > Geoff Howard
> > > > >
> > > > > > From: Spectron International, Inc. 
> [mailto:[EMAIL PROTECTED]]
> > > > > >
> > > > > > I asked this before but I didn't got a definite answer so
> > > > > > I'll ask this
> > > > > > another way. I'm creating SVGs using information retrieved
> > > > > > from a database
> > > > > > that can change at any time. I don't want the SVG's cached
> > > > > > anywhere. Right
> > > > > > now when I click on a link that will display an SVG 
> it works,
> > > > > > but if I click
> > > > > > 'Back' and then click on the same link again it changes the
> > > > > > page contents
> > > > > > but not the SVG, I have to click on 'Refresh' to update the
> > > > > > graph. Is there
> > > > > > a way to refresh the SVG as well?


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: No-caching for SVG's

2002-06-26 Thread Spectron International, Inc.

Found that EXPIRES was added to HEAD in this message:

http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102343531609919&w=2

Now, what do I have to add to the sitemap to make it work?

Faw

- Original Message -
From: "Geoff Howard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 25, 2002 3:20 PM
Subject: RE: No-caching for SVG's


> I think that browsers are more aggressive caching images than html.  The
> assumption seems to be that images do not change as often.  That's not
> authoritative, just my theory from experience trying to do things like
what
> you're doing.  The good news is that browsers should respect a
last-modified
> http header, and/or an expires header set in the past.  Probably the
second
> is more important.  What I don't know is if cocoon has currently working
> functionality to set those headers.  I remember a past discussion where I
> thought this was in the process of being fixed.
>
> Geoff Howard
>
> > -Original Message-
> > From: Spectron International, Inc. [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 25, 2002 3:10 PM
> > To: Cocoon Users Mailing List
> > Subject: No-caching for SVG's
> >
> >
> > I asked this before but I didn't got a definite answer so
> > I'll ask this
> > another way. I'm creating SVGs using information retrieved
> > from a database
> > that can change at any time. I don't want the SVG's cached
> > anywhere. Right
> > now when I click on a link that will display an SVG it works,
> > but if I click
> > 'Back' and then click on the same link again it changes the
> > page contents
> > but not the SVG, I have to click on 'Refresh' to update the
> > graph. Is there
> > a way to refresh the SVG as well?
> >
> >
> >
> > -
> > Please check that your question  has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: No-caching for SVG's

2002-06-25 Thread Geoff Howard

I think that browsers are more aggressive caching images than html.  The
assumption seems to be that images do not change as often.  That's not
authoritative, just my theory from experience trying to do things like what
you're doing.  The good news is that browsers should respect a last-modified
http header, and/or an expires header set in the past.  Probably the second
is more important.  What I don't know is if cocoon has currently working
functionality to set those headers.  I remember a past discussion where I
thought this was in the process of being fixed. 

Geoff Howard

> -Original Message-
> From: Spectron International, Inc. [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 25, 2002 3:10 PM
> To: Cocoon Users Mailing List
> Subject: No-caching for SVG's
> 
> 
> I asked this before but I didn't got a definite answer so 
> I'll ask this
> another way. I'm creating SVGs using information retrieved 
> from a database
> that can change at any time. I don't want the SVG's cached 
> anywhere. Right
> now when I click on a link that will display an SVG it works, 
> but if I click
> 'Back' and then click on the same link again it changes the 
> page contents
> but not the SVG, I have to click on 'Refresh' to update the 
> graph. Is there
> a way to refresh the SVG as well?
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>