On WeChat Mini Programs's business code caching

Mini Program is currently under development, and there are many data interfaces. How to do business data caching is more reasonable.
for example:

  json json 
     ~
Mar.20,2021

this depends on the specific business requirements. Things that change infrequently can be cached locally, such as user agreements and other text classes.


or use vue to build the framework of Mini Program, Meituan mpvue , so you can use vuex one-way data flow. If you only use Mini Program native to write, it is very painful. You can build a common data flow, instantiate a Class object, and achieve data sharing through prototype.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3620d-2c001.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3620d-2c001.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?