On Saturday 13 June 2009 07:09:41 am you wrote: > On 12-jun-09, at 23:59, Daniel L. Miller wrote: > > The answers to these may be obvious - but since I'm asking they're not > > obvious to me. > > > > 1. When entering multiple extensions in a handler, what is the > > correct > > format? Is it: > > <ext1>,<ext2>,<ext3> > > <ext1> <ext2> <ext3> > > <ext1>, <ext2>, <etc3> > > I guess I was so used to write comma-separated lists (with no white > spaces) that I hadn't realized that it could be confusing. > > I've just added some new code to handle the three cases altogether. > The patch is going to be released in Cherokee 0.99.17 within the next > few hours. > > Thanks for raising the issue!
Thank you for making the adjustment. Since I haven't seen your patch yet, I think it would still be beneficial to have a simple instruction line in cherokee-admin that explicitly states how such lists should be entered. Just so some joker doesn't try using ";", or quoted lists, or something else fun... > > > 2. "Encoding". Why are some of the default folders checked to allow > > encoding and some not? Why would we NOT want to allow gzip and/or > > deflate on nearly every folder? > > Because trying to compress a JPEG file would be futile, and you'd be > wasting a whole lot of CPU cycles. I've haven't even started learning about this stuff, but my very limited understanding is the biggest/smallest bottleneck between client & server is bandwidth - except possibly for local connections. If the server takes a couple CPU cycles to work with a jpg, that's minor compared with the benefit of compressing the text that is the bulk of the page. So I'm asking why, by default, new folders and php handlers should not be encoded? If you explicitly have folders that contain images, then of course not - that's one reason to group the images in a separate folder. Also - is there a reason why only Gzip is by default checked in those folders that are encoded by default, and not deflate? -- Daniel _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
