Query parameters: http://example.com/apples?order=random&color=blue
Matrix parameters: http://example.com/apples;order=random;color=blue
- When should one use query parameters versus matrix parameters?
- Why can matrix parameters be used in the middle of a URL but query parameters cannot? For example:
http://example.com/apples;order=random;color=blue/2006/archive
- If matrix parameters are a superset of query parameters, why not use them all the time?
You can read more about matrix parameters here: http://www.w3.org/DesignIssues/MatrixURIs.html