php - Storing BLOB images in sql database for a SMALL website. - mysql -


there many questions on stack overflow on whether storing images in db worth big websites , poeple no. making small website potentially hold 20 images. have spent alot of time setting images uploaded database around 20 - 200 images - (around 10 - 50 kib) slow down website if have images stored on database blob file.

i likes structure of db can add/edit/delete images rather going through hassle of storing images on web server.

so uploading 20-200 images around 10 - 50 kib, slow down website , how slower get?

the possible slow down depends on environment. should negligible when php implementation right.

but browser caching may cut down page load time. so, have implement http stuff related browser caching, e.g. http head, http etag, etc. then, it's easier store images local files, implement simple add/edit/delete operations, , let complicated caching stuff web server.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -