(today in a page, make the mind mess, come to consult!)
WeChat official: access_token suggested cache (don't need every time from WeChat server access),
Need to deal with the scene
1, access_token cache has been completed,
Number 2, page frequently through service, development platform for personal information (openid/unionid), then the identity authentication,
The problems
In acquiring the openid/unionid, will also return access_token and openid (refresh access_token),
Such as https://api.weixin.qq.com/sns/oauth2/access_token interface, returns the access_token and openid
The cache access_token have a purpose?
I checked the interface permissions, service number (certified) access_token only 10000 times a day, only 10000 people log in every day?
Or cache access_token this action, but for other business?