I'm developing a DBD-based DAV backend. I've been trying to use lazy evaluation for efficiency. But there are obstacles in the way.
I've just added an SQL query to my get_resource method just to determine whether the resource is a collection. I don't think that should be necessary: not every request needs that information about every resource. And it's very expensive in an operation such as directory listing. This could be fixed if the collection field of dav_resource was a method rather than just a field. I don't want to propose a bunch of tiny changes like this, but I'm looking towards a possible review of mod_dav. Meanwhile, anyone BTDT and have insights to share? -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/
