diff -r 7f196509bf78 -r 3700f7124c2b includes/clientside/jsres.php --- a/includes/clientside/jsres.php Mon Jun 09 20:52:34 2008 -0400 +++ b/includes/clientside/jsres.php Tue Jun 10 00:21:34 2008 -0400 @@ -102,6 +102,35 @@ header('Content-type: text/javascript'); $everything = ''; +// if we only want the tiny version of the API (just enough to get by until the full one is loaded), send that +// with a simple ETag and far future expires header +if ( isset($_GET['early']) ) +{ + header('ETag: enanocms-lib-early-r1'); + header('Expires: Wed, 1 Jan 2020 00:00:00 GMT'); + + echo <<