You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 43 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - loading question [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
XDakotaX
Lieutenant
Lieutenant


Joined: Apr 30, 2004
Posts: 157


PostPosted: Mon Aug 09, 2004 12:36 pm Reply with quoteBack to top

Hi all

my website loads the background colour and then takes approx another 10 seconds to load (which is a long time seeing as I am on a ADSL connection) after the 10 seconds or so of load time the entire index.php then loads. It doesnt load it bit by bit like many phpnuke sites. Im running phpnuke 7.3

Any suggestions would be appreciated
Find all posts by XDakotaXView user's profileSend private message
nobleclem
Lieutenant
Lieutenant


Joined: May 27, 2003
Posts: 167

Location: Southfield, MI

PostPosted: Mon Aug 09, 2004 3:30 pm Reply with quoteBack to top

What is the page generation time?

But there are things you can do. Once I noticed is that the GZIP code in the mainfile.php doesnt work. So I have replaced that. Also I would apply the mainfile.php speedhacks as they do wonders for the page generation time.



note: if you want a package that is still php-nuke and has these speed hacks and other security hacks already installed check out my site at http://hackerassassins.com

_________________
....Check Out These Great Sites....


http://HackerAssassins.com is home to PHP-Nuke 7.4 HA Enhanced | http://FatalException.us

http://Vaelio.com < -- > The Future of CMS Technology and Design Today -- coming soon
Find all posts by nobleclemView user's profileSend private messageVisit poster's websiteAIM AddressMSN MessengerICQ Number
XDakotaX
Lieutenant
Lieutenant


Joined: Apr 30, 2004
Posts: 157


PostPosted: Thu Aug 12, 2004 1:44 pm Reply with quoteBack to top

Thanks for the reply!

I did apply the speedhacks located on this board it took about 2 seconds off. I will check out that site you gave.

Here the site: www.elitewargamer.com

if you would check it, that would be great. The splash page loads fine but as soon as it enters the nuke you will see. It loads background first and then everything else later.
Find all posts by XDakotaXView user's profileSend private message
nobleclem
Lieutenant
Lieutenant


Joined: May 27, 2003
Posts: 167

Location: Southfield, MI

PostPosted: Thu Aug 12, 2004 5:40 pm Reply with quoteBack to top

Your page generation times are great for php-nuke.

I actually wasnt having a browsing problem so I would say its your ISP. What are your running on? Cable, DSL, Dial-up, Other?

Change one more thing in your mainfile.php

Find:
Code:
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
if (extension_loaded('zlib')) {
ob_end_clean();
ob_start('ob_gzhandler');
}
} else if ($phpver > '4.0') {
if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) {
if (extension_loaded('zlib')) {
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);
//header('Content-Encoding: gzip');
}
}
}

And Replace with:
Code:
/*ENABLE GZIP COMPRESSION*/
$phpver = phpversion();
if ($phpver >= '4.0.4pl1') {
   ob_start('ob_gzhandler');
}
else if ($phpver > '4.0'){
   if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')){
      if (extension_loaded('zlib')){
         $do_gzip_compress = TRUE;
         ob_start();
         ob_implicit_flush(0);
      }
   }
}
/*END GZIP COMPRESSIONS*/


I was never able to get the site to actually compress but this will allow it to. It reduces bandwidth usage and should beable to send the data to your computer much quicker. You can get up to around 80% reduction in file size when sending.

_________________
....Check Out These Great Sites....


http://HackerAssassins.com is home to PHP-Nuke 7.4 HA Enhanced | http://FatalException.us

http://Vaelio.com < -- > The Future of CMS Technology and Design Today -- coming soon
Find all posts by nobleclemView user's profileSend private messageVisit poster's websiteAIM AddressMSN MessengerICQ Number
XDakotaX
Lieutenant
Lieutenant


Joined: Apr 30, 2004
Posts: 157


PostPosted: Fri Aug 13, 2004 3:05 am Reply with quoteBack to top

hey thanks bud!

I running ADSL connection.

Thanks for checking it out anyways!
Find all posts by XDakotaXView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.329 Seconds - 270 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::