Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/12/2022 in all areas

  1. You can't echo something, have it displayed, then remove it. Once the content has been sent to the browser for display it's there. Trying to stream content as a progress indicator is already questionable. It may or may not working depending on what kind of software / buffers are involved in the connection. If you want to progress indication then the ideal thing to do would be to run your tasks as background requests using fetch() and update a display with the progress information as they complete.
    1 point
  2. In general, images are best stored either on a filesystem or in a CDN like cloudfront or akamai. It's enticing to store them in a database that you are already using, but it's highly inefficient. Blob storage in databases is expensive considering that you must query the result from the database in order to then return it to the client. What most people do instead is have a table that stores a path to the image, so that you can have the best of both worlds.
    1 point
This leaderboard is set to New York/GMT-05:00
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.