Forum Moderators: open

Message Too Old, No Replies

Java cached in browser

         

Greywolfe

2:04 am on May 1, 2004 (gmt 0)

10+ Year Member



What I would like to know are methods to insure that a .js file cached by the browser is the correct one and hasn't been altered on the client side to work differently than intended.

I know from experience, that you can alter js files in the cache and that the file won't update if the file size remains the same size.

Please let me know your thoughts, and if you have questions about the situation, just ask. :)

Jim

jdMorgan

2:21 am on May 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Jim,

Welcome to WebmasterWorld [webmasterworld.com]!

You should set up your server to send appropriate cache-control headers for each kind of content on your site. There are various ways to do it, from server configuration to server-side scripting.

Jim (2)

Greywolfe

2:27 am on May 1, 2004 (gmt 0)

10+ Year Member



Hey cool. Moderator for Apache. Now taht I think about it, even though it's the javascript files I'm worried about being altered, might work better under Apache, lol. going there now :)