{"shas":[["db015ca7157f9efc97a1b37fcb3615dd2035f936","f8826745a7c448aa644bdf8671db573641087b2c@gmail.com","Currently, files which fail to match contentTypeMatch are served with the underlying connect.static.send which defaults to maxAge=0 (i.e. they are immediately stale). This has the undesirable consequence that any image files served by gZippo are thus never cached by the browser (the browser does reuse the file, but it always queries the server with an If-Modified-Since).\r\n\r\nWith this change, we use gZippo's maxAge value when 'pass'ing to connect.\r\n\r\nThis brings up an interesting issue of whether gZippo is intended solely for gzippable content ... or whether it should try to replicate normal 'static' middleware behavior for other content types (e.g. images). It might be interesting to contemplate using the same 'options' format for gZippo as the underlying connect middleware for maximum overlap.\r","mdrcode"]],"ref":"refs/heads/patch-1","size":1,"head":"db015ca7157f9efc97a1b37fcb3615dd2035f936","push_id":39846920}