| От | Jasen Betts |
|---|---|
| Тема | Re: Store base64 in database. Use bytea or text? |
| Дата | |
| Msg-id | ihvs8u$cbe$2@reversiblemaps.ath.cx обсуждение исходный текст |
| Ответ на | Store base64 in database. Use bytea or text? (Andre Lopes <lopes80andre@gmail.com>) |
| Список | pgsql-general |
On 2011-01-28, Dmitriy Igrishin <dmitigr@gmail.com> wrote: > --001636c598d9470a92049ae97be4 > Content-Type: text/plain; charset=UTF-8 > > 2011/1/28 Andre Lopes <lopes80andre@gmail.com> > >> Hi, >> >> Another question about this subject. >> >> It is possible to cache this images from the database? In the future I >> will need to cache the pictures. >> for HTTP caching to work you need to serve the resources with apropriate HTTP headers, and probably need to honour HEAD requests in a useful way. you mention PHP, how does your web server communicate a HEAD request to your PHP script? it's beginning to look like disk might be a better place to store the images. it's more work to administer, but it lets the server and cache interact naturally. -- ⚂⚃ 100% natural
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера