On 2011-01-28, Dmitriy Igrishin <dmitigr@xxxxxxxxx> wrote: > --001636c598d9470a92049ae97be4 > Content-Type: text/plain; charset=UTF-8 > > 2011/1/28 Andre Lopes <lopes80andre@xxxxxxxxx> > >> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general