| От | Brent R. Matzelle |
|---|---|
| Тема | Re: faster way to display jpg-blobs? |
| Дата | |
| Msg-id | 200103191738.f2JHcoN07168@mail.postgresql.org обсуждение |
| Ответ на | faster way to display jpg-blobs? (Knut Suebert <knut.suebert@web.de>) |
| Список | pgsql-php |
3/18/2001 7:22:35 AM, Knut Suebert <knut.suebert@web.de> wrote: >Because of the begin/end every picture on a page is loaded one after the >other, I fear. Not simultaneous as if there would be a direct <img >src='pic_N.jpg'> instead of <img src='pic.php?id=N'>. You can put a BEGIN/END around multiple queries to place all queries into one transaction block and thus rid yourself of some overhead. Otherwise I do not know of any _faster_ way to download binary data from a database. I would suggest that you place the images on the fs instead and provide a (VARCHAR) path to the file, but that option is dependent upon your web system. Brent
В списке pgsql-php по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера