| Author |
Message |
troj
Beginner


Joined: Jun 30, 2007 Posts: 3
|
Posted: Mon Jul 02, 2007 10:25 pm Post subject: Gallery blocks slow site *way* down |
|
|
I've got the Gallery module working quite nicely with PHP-Nuke 7.9, with one minor little nit....
When I enable either of the Gallery blocks, the site performance goes to pot. My page load times go from ~2 seconds to anywhere from 8 seconds to 30 seconds, and the CPU load on the server skyrockets.
Thoughts?
-Kevin |
|
| Back to top |
|
|
AdBot
|
| Post subject: Gallery blocks slow site *way* down |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Tue Jul 03, 2007 6:18 am Post subject: Re: Gallery blocks slow site *way* down |
|
|
which block files? these all have to call the Gallery API. In theory, the load times w/ the blocks shouldn't be any longer than the load times of your gallery pages. _________________
 |
|
| Back to top |
|
|
troj
Beginner


Joined: Jun 30, 2007 Posts: 3
|
Posted: Tue Jul 03, 2007 6:54 am Post subject: Re: Gallery blocks slow site *way* down |
|
|
block-G2_ImageBlock.php
block-G2_Sidebar.php
I've tried both, and while the ImageBlock seems to have less of an impact, it still has some.
I have found that turning off the display of the number of views seems to help a bit on the ImageBlock. I'd really like to use Sidebar, but it just kills performance.
-Kevin |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Tue Jul 03, 2007 7:17 am Post subject: Re: Gallery blocks slow site *way* down |
|
|
if you want to use the sidebar, go to the g2 admin and configure what information is shown in there, that way you can eliminate things you don't want/need to show, and speed things up a little. _________________
 |
|
| Back to top |
|
|
|
|
|
|
|