Re: [Resin-interest] Removing Etags

2007-08-07 Thread rafael.munoz

Any new ideas about this? Nobody?


Scott Ferguson wrote:
 
 
 On Aug 2, 2007, at 12:27 AM, rafael.munoz wrote:
 

 Hi all

 Is there any way to configure resin not to set the 'Etag' header?
 
 Not unless you write your own FileServlet.  Why would you want to  
 remove the ETag?
 
 -- Scott
 

 Thanks in advance,
 Rafa
 -- 
 View this message in context: http://www.nabble.com/Removing-Etags- 
 tf4204567.html#a11959693
 Sent from the Resin mailing list archive at Nabble.com.



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 

-- 
View this message in context: 
http://www.nabble.com/Removing-Etags-tf4204567.html#a12033803
Sent from the Resin mailing list archive at Nabble.com.



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Removing Etags

2007-08-07 Thread Serge Sozonoff
Hello Rafael,

I thought the answer was pretty clear?

Serge

rafael.munoz wrote:
 Any new ideas about this? Nobody?


 Scott Ferguson wrote:
   
 On Aug 2, 2007, at 12:27 AM, rafael.munoz wrote:

 
 Hi all

 Is there any way to configure resin not to set the 'Etag' header?
   
 Not unless you write your own FileServlet.  Why would you want to  
 remove the ETag?

 -- Scott
 



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Removing Etags

2007-08-07 Thread Scott Ferguson

On Aug 7, 2007, at 6:23 AM, rafael.munoz wrote:


 Sorry, I was talking about the whole problem with etags and a  
 server farm,
 not only about activate/deactivate the etag header. For instance,  
 I'm not
 sure if the etag value is calculated in Resin taking account the  
 server or
 only the resource (url, file size, etc). In the later case two  
 identical
 resources in two servers will have the same etag so there will be  
 no problem
 at all.

The ETag calculation has been changed (for 3.1.3) to a digest of the  
file contents, not timestamp-based.  So each backend server will  
return the same etag.

-- Scott


 Anyway i'm right now looking to the FileServlet implementation in  
 Resin and
 i guess i'll have some of the answers i'm looking for reviewing the  
 code :).

 Thanks for your answer,


 ssozonoff wrote:

 Hello Rafael,

 I thought the answer was pretty clear?

 Serge

 rafael.munoz wrote:
 Any new ideas about this? Nobody?


 Scott Ferguson wrote:

 On Aug 2, 2007, at 12:27 AM, rafael.munoz wrote:


 Hi all

 Is there any way to configure resin not to set the 'Etag' header?

 Not unless you write your own FileServlet.  Why would you want to
 remove the ETag?

 -- Scott




 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



 -- 
 View this message in context: http://www.nabble.com/Removing-Etags- 
 tf4204567.html#a12034138
 Sent from the Resin mailing list archive at Nabble.com.



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Removing Etags

2007-08-07 Thread rafael.munoz

Thank you. I'm using 3.0.21 and i can't switch to a newer resin version but i
guess i can use the fileservlet from 3.1.3, adapt it and use it with my
3.0.21 server. Problem solved :).

regards and thank you again,


Scott Ferguson wrote:
 
 
 On Aug 7, 2007, at 6:23 AM, rafael.munoz wrote:
 

 Sorry, I was talking about the whole problem with etags and a  
 server farm,
 not only about activate/deactivate the etag header. For instance,  
 I'm not
 sure if the etag value is calculated in Resin taking account the  
 server or
 only the resource (url, file size, etc). In the later case two  
 identical
 resources in two servers will have the same etag so there will be  
 no problem
 at all.
 
 The ETag calculation has been changed (for 3.1.3) to a digest of the  
 file contents, not timestamp-based.  So each backend server will  
 return the same etag.
 
 -- Scott
 

 Anyway i'm right now looking to the FileServlet implementation in  
 Resin and
 i guess i'll have some of the answers i'm looking for reviewing the  
 code :).

 Thanks for your answer,


 ssozonoff wrote:

 Hello Rafael,

 I thought the answer was pretty clear?

 Serge

 rafael.munoz wrote:
 Any new ideas about this? Nobody?


 Scott Ferguson wrote:

 On Aug 2, 2007, at 12:27 AM, rafael.munoz wrote:


 Hi all

 Is there any way to configure resin not to set the 'Etag' header?

 Not unless you write your own FileServlet.  Why would you want to
 remove the ETag?

 -- Scott




 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



 -- 
 View this message in context: http://www.nabble.com/Removing-Etags- 
 tf4204567.html#a12034138
 Sent from the Resin mailing list archive at Nabble.com.



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 

-- 
View this message in context: 
http://www.nabble.com/Removing-Etags-tf4204567.html#a12037371
Sent from the Resin mailing list archive at Nabble.com.



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Removing Etags

2007-08-02 Thread rafael.munoz

Hi all
 
Is there any way to configure resin not to set the 'Etag' header?
 
Thanks in advance,
Rafa
-- 
View this message in context: 
http://www.nabble.com/Removing-Etags-tf4204567.html#a11959693
Sent from the Resin mailing list archive at Nabble.com.



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Removing Etags

2007-08-02 Thread Scott Ferguson

On Aug 2, 2007, at 12:27 AM, rafael.munoz wrote:


 Hi all

 Is there any way to configure resin not to set the 'Etag' header?

Not unless you write your own FileServlet.  Why would you want to  
remove the ETag?

-- Scott


 Thanks in advance,
 Rafa
 -- 
 View this message in context: http://www.nabble.com/Removing-Etags- 
 tf4204567.html#a11959693
 Sent from the Resin mailing list archive at Nabble.com.



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest