2011/3/26  <richardcav...@mail.com>:
> I can see that there are avantages to putting parameters into POST
> data.  Are there any advantages to a bot putting parameters into the
> URL?
The only advantage I can think of is caching. If you're repeating the
same request a number of times and want any caching proxies between
you and the server (e.g. Wikimedia's Squid servers) to cache the
result for you, you can put &smaxage=3600 (or any number of seconds)
in the URL. This only works for GET requests and only when the URLs
are exactly the same both times.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to