better browser caching

use cache data for PP API, to cache locally in browsers.