Cache dot sources in the CGI script.

* wrap/python/ajax/spot.in (render_dot, render_dot_maybe)
(render_automaton, render_formula): Cache the dot source, so that
we do not have to regenerate two pictures from the same contents.
* wrap/python/spot.i: Typo in the ostringstream declaration.
This commit is contained in:
Alexandre Duret-Lutz 2011-06-08 14:29:38 +02:00
parent 0d2ac81a8c
commit 155ba42c90
3 changed files with 48 additions and 21 deletions

View file

@ -1,3 +1,12 @@
2011-06-08 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Cache dot sources in the CGI script.
* wrap/python/ajax/spot.in (render_dot, render_dot_maybe)
(render_automaton, render_formula): Cache the dot source, so that
we do not have to regenerate two pictures from the same contents.
* wrap/python/spot.i: Typo in the ostringstream declaration.
2011-06-08 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Output a "Cache-Control:" header in the CGI script.