> [26/Apr/2007:22:26:41] "GET > /qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/ui/menubar/MenuB > ar.js
What is very interesting is that I also see MenuBar.js being requested even though it should be cached. I guess Gecko must decide to never cache it. Weird. > And it takes about 8 seconds to load. But when I press "reload" it > seems to reload each and every javascript source file and it takes > about a minute. Maybe that's your problem. Pressing reload is forcing the browser to refresh every source file from the server. I have our server configured to put "max-age=60" in the Cache-control response. That forces the browser to check with the server if any file is modified if it is more than 60 seconds old. So when I re-open the application, having made a change, the browser will check with the server and get either a "304 - not modified" response or a "200" with the new date. This is an edited extract from a protocol trace: When it's modified: GET /user/client/source/index.html HTTP/1.1 Connection: keep-alive If-Modified-Since: Tue, 06 Mar 2007 11:54:11 GMT HTTP/1.1 200 OK Date: Fri, 27 Apr 2007 06:48:19 GMT Connection: keep-alive Last-modified: Fri, 27 Apr 2007 06:48:10 GMT Expires: Fri, 27 Apr 2007 06:49:19 GMT Cache-control: max-age=60 Note max-age=60. Then later on: GET /user/client/source/index.html HTTP/1.1 Connection: keep-alive If-Modified-Since: Fri, 27 Apr 2007 06:48:10 GMT HTTP/1.1 304 Not modified Date: Fri, 27 Apr 2007 06:55:14 GMT Connection: keep-alive Last-modified: Fri, 27 Apr 2007 06:48:10 GMT Expires: Fri, 27 Apr 2007 06:56:14 GMT Cache-control: max-age=60 Hugh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
