Added client-side cache of plots.
The plots trigger now Ajax calls on demand only. When the response is received, the plot is stored in an cache, so next time it will be collected from there instead of sending a new request.