forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: amirw2k on December 06, 2005, 04:59:01 am

Title: Caching of user's number of pictures?
Post by: amirw2k on December 06, 2005, 04:59:01 am
Hello Dev Team,

Is it possible to add another field to the users table that will cache the number of pictures that belong to that user? My request is mainly related to bridging this also to an external bulletin board such as phpBB so I can show the number of pictures of each user near every message he posts. If you can call an UPDATE query on every upload or deletion of an image to the bridge (or coppermine's internal database), I can set it to update a new field in the users table and use it without overloading the database with queries.

Thanks for your response,
Amir W.
Title: Re: Caching of user's number of pictures?
Post by: Joachim Müller on December 06, 2005, 07:55:24 am
various caching mechanisms are being discussed to improve performance for large installs for cpgNG (aka cpg2.0), but don't expect anything like this happening that soon.