> I note from http://svn.sourceforge.net/qooxdoo/?rev=8595&view=rev
> that
> you have fixed the timeout on trunk, and also removed the nocache
> parameter. That makes a huge difference with
> http://demo.qooxdoo.org/devel/apiviewer/ - now I can close the
> browser,
> and come back to it later and it loads immediately, using cached
> data.
One thing to be careful of here is the period for which the browser
thinks that the file is valid. This is specified from the server when
sending the file using the headers:
"Cache-control: max-age=xxx" where xxx is the maximum age in
seconds and/or
"Expires: <date/time>"
Looking in Firebug at the devel apiviewer I only see the headers:
Date Sat, 16 Jun 2007 06:30:56 GMT
Server Apache/2.2.3 (Debian) PHP/5.2.0-7
Last-Modified Wed, 06 Jun 2007 08:30:51 GMT
Etag "2464039-1459-9da164c0"
Accept-Ranges bytes
Content-Length 5209
Keep-Alive timeout=15, max=97
Connection Keep-Alive
Content-Type application/x-javascript
For more information on setting this up,
http://www.improvedsource.com/view.php/Web-Performance/38/ appears to be
relevant.
Note that you should do this before deploying the devel api viewer to
current, as otherwise the data files might be cached too aggressively by
browsers.
Even setting a very short timeout can have a significant impact, as it
means that the "304 - not modified" response is sent back from the server
which means that bandwidth isn't used.
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