Fixd the caching issue on api requests