performance hack performance hack
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

performance hack

Started by Bash, November 18, 2009, 02:01:39 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Bash

I'm really interested in the stats performance improvement from this mod. However is there any way of ONLY installing this part of the mod? (I don't want to upload all the current files because I already have other mods installed that would need to be edited back in).

Thanks in advance,

Stramm

You'll have to extract that from the modpack. The performance hack is doing nothing more than removing extry queries for the statistics. Usually coppermine checks the number of images visible for the viewing user. That needs some CPU. The hack counts all images in the database (as if the admin is viewing the gallery). To be found in index.php.

Bash

So I just need to look in index.php or are other files involved?

Thanks again

Stramm

if you want to switch it on and off in config, then you'll need to add the necessary sql. Otherwise yes, index php without the if statement.

Bash

I've added it now, thanks. I hope it'll help a little since my gallery is starting to become slow (v large and busy).