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>
Learned, mark
1. Use CDN to accelerate the image address alone 2. Control image size