Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need advice re: static content

 
Castor Castro
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am working on a personal project and it will deal in lots of images/thumbnails. The first thing that comes in my mind is to save the images I need to the database. But I think it will be very slow as serialization/deserialization will eat up some resources.
Would it be better if I save my images in a apache drive, and just save the location of the file/s to the database so when the need for the image comes, I can just retrieve the location and display the image?

Please advice.

Thanks in advance

Castor
 
Joe Ess
Bartender
Posts: 9256
9
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic