Added option to clear request cache for avoid memory issue. Added method to setup get and post params.