staticjavascript.jsp caching?

2003-08-19 Thread Adolfo Miguelez
Pertaining to the staticJavascript.jsp page in the validator, I have to 
defend with my boss the position that it is actually cached by the browser 
so it is not downloaded for every request. However we have made some tests 
and it is actually not cached.

How could I convince my boss? What am I doing wrong?

Adolfo.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: staticjavascript.jsp caching?

2003-08-19 Thread Frat TRYAK
The browser you are dealing with is important here, and also last modified
date of the js file is important (not sure about the second one). To get rid
of these kind of problems you should change the js file name and the src
artribute where you call the js file, to have it updated everywhere.

F.



- Original Message - 
From: Adolfo Miguelez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 1:16 PM
Subject: staticjavascript.jsp caching?



 Pertaining to the staticJavascript.jsp page in the validator, I have to
 defend with my boss the position that it is actually cached by the browser
 so it is not downloaded for every request. However we have made some tests
 and it is actually not cached.

 How could I convince my boss? What am I doing wrong?

 Adolfo.

 _
 Add photos to your e-mail with MSN 8. Get 2 months FREE*.
 http://join.msn.com/?page=features/featuredemail


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





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



Re: staticjavascript.jsp caching?

2003-08-19 Thread Adam Hardy
I think you should also check whether struts is appending no-cache 
headers to the response. In your struts-config.xml, this is set for the 
whole website so:

controller 
!-- all pages get HTTP headers to defeat browser caching --
set-property property=nocache value=true/
/controller
On 08/19/2003 12:29 PM Frat TRYAK wrote:
The browser you are dealing with is important here, and also last modified
date of the js file is important (not sure about the second one). To get rid
of these kind of problems you should change the js file name and the src
artribute where you call the js file, to have it updated everywhere.
F.



- Original Message - 
From: Adolfo Miguelez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 1:16 PM
Subject: staticjavascript.jsp caching?



Pertaining to the staticJavascript.jsp page in the validator, I have to
defend with my boss the position that it is actually cached by the browser
so it is not downloaded for every request. However we have made some tests
and it is actually not cached.
How could I convince my boss? What am I doing wrong?

Adolfo.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





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

--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]