Cache results of the spot.py CGI script.

* wrap/python/ajax/spot.in: Use the QUERY_STRING as a hash key to
cache the result of the script.  Open stdout without buffering and
redirect it to a file that we can dump later on cache hits.  Parts
of this change are extracted from code from Pierre Parutto
<parutto@lrde.epita.fr>.
* AUTHORS: Add him.
This commit is contained in:
Alexandre Duret-Lutz 2011-06-08 11:36:45 +02:00
parent b535741a90
commit b8f8441167
3 changed files with 67 additions and 21 deletions

View file

@ -8,3 +8,4 @@ Thomas Martinez
Damien Lefortier
Guillaume Sadegh
Félix Abecassis
Pierre Parutto