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

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 

Author: Evaders99PostPosted: Thu May 31, 2007 5:55 am    Post subject:

Of course the server has to do some analysis within the files.. but generally comments are so small and aren't important, they won't add to the processing time. The most time is spent actually executing instructions and queries.

I wouldn't worry about the comments all in PHP code.

As to HTML, if it is displayed in the "View Source", then it could affect site loading by transfering such unnecessary text between client and server. Again, this is really a small amount too.. I wouldn't worry about shaving a couple of bytes (Just don't try to write novels inside the HTML comments)

Author: sinkPostPosted: Thu May 31, 2007 6:17 am    Post subject: great

Thanks for your help! Now I will rampage with commenting Smile



Nuke Cops -> Speed Freaks

All times are GMT - 8 Hours

Page 1 of 1

Powered by phpBB © 2001,2002 phpBB Group
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, 63 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 - comments affect speed? comments affect speed?

Nuke Cops -> Speed Freaks

Author: sink PostPosted: Thu May 31, 2007 5:29 am    Post subject: comments affect speed?

Does comments affect site loading time?
The file size will most certainly differ but what about loading time? How does web servers decode .php comments (and what about .html comments)? They just skip the row or do they read it but ignore it?
Previously I have been deleting the functions that i currently don't use but when I want them back it is more work. What if i comment them instead? Does it affect speed?

What do you pros think?
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
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.032 Seconds - 129 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
added by Evaders - DO NOT REMOVE
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::