Have you ever wondered how the digital files, photos, and documents you store on your devices are actually kept safe and accessible? Let's dive int...
For further actions, you may consider blocking this person and/or reporting abuse
If you are using images on a web page, things are often more complicated. Data may come from a database or from a file storage. As the internet is still a bottleneck, file access may be different depending on the file size. Smaller packages are stored directly in a database, while larger files are stored in the file system.
To get a better performance, large files are often delivered asynchronously, so the user does not have to wait for all data do be loaded. Modern CMS often recalculate images before delivery, so you can store your images in maximum resolution, but deliver a much smaller file size if needed. So, the browser can ask for a certain file size and will get only what he needs.
We should also mention that safety is crucial if you store or retrieve data over the internet. You would not want anybody to store dangerous data (like viruses) on your server, but also would not want anybody to get data from your server that should not be visible to the public. So, you always need a layer above the file storage, that controls file access.
Great overview!
It's worth noting that while a byte can represent a character, it's from a (relatively) small set; for the extended character sets in Unicode, we may need more than one byte.