Is there a way to cache data on user's browser. I need to save a object that depend from user. I used wp_cache_set, but I notice that it expire after one request. Is there a way to save this data for each request?
wp_cache_* methods are cached in either php memory or an object cache ( if available ) . It will never be available to be saved in the browser.