"Oleg Deribas" <[EMAIL PROTECTED]> writes: > By the way, isn't it better to store images as the files on the > filesystem? I'd store just image paths in the database and insert paths > to static images in generated html. It would allow to reduce load on > the database server, and possibly serve images with apache, reducing > load on cherrypy.
There are always pros and cons to each approach... Storing them on database makes backups easier to do, might make your application scale more easily (you won't have to setup an NFS server for sharing files), makes you pay no attention to file names and etc. But it will indeed take you more effort to cache those BLOBs from the database (or database cluster). -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

