forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: idosha on January 26, 2019, 05:57:45 pm

Title: What are the least SQL intensive Index Page Blocks?
Post by: idosha on January 26, 2019, 05:57:45 pm
I run many large photo galleries that have many visitors. I am trying to improve the performance by following the documentation: http://documentation.coppermine-gallery.net/en/performance.htm

Can anyone provide any insight on what "index blocks" cause the least amount of SQL lookups and is more efficient to use?

The performance page specifically lists "last uploaded", "last updated album" and "random" as intensive on large galleries. I would assume "last viewed" is just as intensive.

A cache plugin to avoid these SQL queries would be nice.
Title: What are the least SQL intensive Index Page Blocks?
Post by: Αndré on March 14, 2019, 09:43:55 pm
A cache plugin to avoid these SQL queries would be nice.

There will be a cache plugin for cpg1.6.x:
Some form of caching, however, is a very good idea and will be considered for a future release of CPG.