response class : add method cache for ajax request