Home | Support Forums | Your Account | Gallery [2] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Gallery blocks slow site *way* down

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
troj

Beginner
Beginner


Joined: Jun 30, 2007
Posts: 3

PostPosted: Mon Jul 02, 2007 10:25 pm    Post subject: Gallery blocks slow site *way* down Reply with quote

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
Offline View user's profile Send private message Visit poster's website
AdBot
   Post subject: Gallery blocks slow site *way* down  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Tue Jul 03, 2007 6:18 am    Post subject: Re: Gallery blocks slow site *way* down Reply with quote

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
Offline View user's profile Send private message Visit poster's website
troj

Beginner
Beginner


Joined: Jun 30, 2007
Posts: 3

PostPosted: Tue Jul 03, 2007 6:54 am    Post subject: Re: Gallery blocks slow site *way* down Reply with quote

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
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Tue Jul 03, 2007 7:17 am    Post subject: Re: Gallery blocks slow site *way* down Reply with quote

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
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia