On Feb 22, 2013, at 11:07 AM, C. M. Sperberg-McQueen wrote: > > On Feb 22, 2013, at 11:01 AM, Alain Couthures wrote: > >> ... > >>> My question about evading an over-enthusiastic cache remains an open >>> question. >> This is a well-known XMLHttpRequest issue and many developers just add a >> dummy parameter, such as the current date and time, to the HTTP request >> filename so the browser always consider it different. > > > Brilliant. Thank you, that should work. I'll do that right now. >
For the record, I also found another way that works in my situation. The server for this project is running Apache, and I was able to persuade Apache to set the Expires header by putting the following into an .htaccess file in a directory located above all the documents where stale copies were causing us harm: ExpiresActive on ExpiresDefault "access plus 60 seconds" -- **************************************************************** * C. M. Sperberg-McQueen, Black Mesa Technologies LLC * http://www.blackmesatech.com * http://cmsmcq.com/mib * http://balisage.net **************************************************************** ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
