xajax_response: addResponse make invalidateCache optional

Signed-off-by: Peter Lieven <pl@kamp.de>