[MKSearch-dev] RESTful query syntax

Phil Shaw phil at mkdoc.com
Thu Dec 2 10:50:25 GMT 2004


On 26 Nov 2004, at 11:50, Bruno Postle wrote:

> > Why do we want the search results page to re-form the original query
> > in one field?
> 
> It is that these queries are identical:
> 
>    http://example.com/?a=b;c=d
>    http://example.com/?a=b&c=d
>    http://example.com/?c=d;a=b
>    http://example.com/?c=d&a=b
> 
> Redirecting the client to a canonicalised URI before answering the
> query means that caching can operate efficiently at the URI level.

Right, I see this now. I agree it makes sense and shouldn't be too 
difficult to do, once the canonical sequence is set. Would it make 
sense to order the common query fields we anticipate first, then 
others, or take an arbitrary alphabetical scheme for instance?

Best regards,

Phil


More information about the MKSearch-dev mailing list