decentralization

Gervase Markham gerv at mozilla.org
Mon May 12 07:24:43 UTC 2003


> This specific syntax is not the best because it puts method
> (e.g. show_bug) before object, and perfect URI would name the object
> instead and then would allow different entry points to be modelled
> like:
> 
>   http://bugzilla.example.org/path/to/bugzilla/ID/12344/
>   http://bugzilla.example.org/path/to/bugzilla/ID/12344/show
>   http://bugzilla.example.org/path/to/bugzilla/ID/12344/xml-show
>   http://bugzilla.example.org/path/to/bugzilla/ID/12344/update-deps?...

I believe that last time this was proposed, several people commented 
that this sort of encoding was a nasty hack, and that URL parameters are 
there to do exactly this.

> Here "bug URI" is a plain HTTP URI , and various methods are "just"
> verbs appended.
> 
> As a side effect, this approach makes bugs cache-friendly and may
> reduce server load, as not all methods use parameters.

We don't want bugs to be cache-friendly; we want the page to be 
regenerated every time it's asked for - because it's different for 
different people.

Gerv




More information about the developers mailing list