The server is under development as Apache-Tomcat. Web services under development I often access the image and js on the server from the client page The image is stored in WebContent/upload/image and can be accessed directly through url Is there no problem with the traffic?
I saved the image in the db and took it out when I needed it, but it was for backup, right?
Is there a technique that is used a lot for this?
web apache tomcat
DB usually uses a method of storing the path where the image exists, rather than storing the image directly.
It is not recommended to store the image directly in the DB.
I am attaching the same information in the link below.
Traffic such as static assets such as images and js can occur sufficiently if the service is successful.
To do this, use CDN.
© 2024 OneMinuteCode. All rights reserved.