Under what circumstances should cache be used? How to optimize the front and back ends (mini program page)
小萝卜头
小萝卜头 2020-05-16 18:32:29
0
3
1221

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>

小萝卜头
小萝卜头

reply all (2)
梦入烟城

Learned, mark

    秋香姐家的小书童

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

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!