search

Home  >  Q&A  >  body text

Under what circumstances should cache be used? How to optimize the front and back ends (mini program page)

A product details interface, query data through product ID, and the front end must display a picture. Database field pictue: the saved picture address, the picture is stored on the server. The problem now is that the pictures are loading too slowly, sometimes it takes a second to open, and sometimes it takes twenty or thirty seconds. How to optimize? I want to know if the backend needs dynamic caching? Is it caching query data? However, this picture is changing every day. Is there any solution for this? <*p>

小萝卜头小萝卜头1650 days ago1344

reply all(3)I'll reply

  • 梦入烟城

    梦入烟城2020-05-26 17:21:49

    Learned, mark

    reply
    0
  • 秋香姐家的小书童

    秋香姐家的小书童2020-05-18 08:32:34

    1. Use CDN to accelerate the image address alone 2. Control image size

    reply
    1
  • 小萝卜头

    OK, thanks

    小萝卜头 · 2020-05-19 14:10:39
  • Cancelreply