سؤال

I want to serve static content with a Java Servlet, but is it the best solition? Should I change the static content with file operations or keep files in database server?

هل كانت مفيدة؟

المحلول

Best to to use static files on the webserver document root. Storing and fetching from the database is not recommended for performance reasons if the files are indeed going to be static.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top