PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Susann
Spouse Contemplates Divorce


Joined: Dec 19, 2004
Posts: 2102
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Fri Apr 27, 2007 2:48 pm Reply with quote Back to top

I never used such tools before for nuke sites but since I´m working more with CSS I thought I could try to optimize my fisubice style.css file. Smile
Result I reduced around 10 % of my current file.
But is it really worth ? Don´t know exactly. Are there issues known in Nuke with:
font-weight:700; or 400 and colors like:color:#000;
View user's profile Send private message Visit poster's website
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1465
Location: In front of a screen....HELP! lol

PostPosted: Fri Apr 27, 2007 3:05 pm Reply with quote Back to top

I would personally say that I cant think of one issue where those would cause a problem.

I believe the whole idea to validate css and other things is simply to stop errors that are reported from a site, It makes the site look far more professional and certain errors can stop people from viewing a site. One example would be people at workplaces whos firewall is so tight, that a simple Javascript misplacement of the ; can cause the site to not load.

As for functionality, I dont feel you lose any at all.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2056
Location: near Albany NY

PostPosted: Fri Apr 27, 2007 3:13 pm Reply with quote Back to top

I think that there will be a number of things we can do to optimize the styles and the way they load for the next release, assuming that is one of the things we prioritize. 64bit and Gremmie had a very enlightening discussion in a lengthy thread a little while back. We could make some short term incremental improvements, squeezing spaces out and the like but you would be talking nanoseconds. The real gain will be in rationalizing the whole style loading process and that's going to take some careful thought and a lot of experimenting and testing.
View user's profile Send private message Visit poster's website
Susann
Spouse Contemplates Divorce


Joined: Dec 19, 2004
Posts: 2102
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Fri Apr 27, 2007 4:50 pm Reply with quote Back to top

Fkelly I know what you mean but thats an other think. Fact is the style.css in nuke was always the same. In my 6.5 I have the same like in higher nuke versions.
To use an optimizer for this file can help and make it clearly arranged particularly with regard to your own added stuff but because there are different tools available you can get really bad result if you use the wrong otimizer.
However, my style.css is W3C valid like my complete RavenNuke site. Before and after I use an optimizer I always validate my files. I´ve lost a function: myown.hoover using Firefox but I think I can fix that because its still working using IE.
View user's profile Send private message Visit poster's website
Gremmie
Moderator


Joined: Apr 06, 2006
Posts: 2356
Location: Iowa, USA

PostPosted: Fri Apr 27, 2007 8:28 pm Reply with quote Back to top

What does an optimizer do? I can't imagine shrinking the file by 10% is going to help in the presence of caching by the browser.
View user's profile Send private message
Susann
Spouse Contemplates Divorce


Joined: Dec 19, 2004
Posts: 2102
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sat Apr 28, 2007 2:46 am Reply with quote Back to top

I´m sure you know the messages from the speed test:

Quote:
Caution. The total size of your external CSS is 4122 bytes, which is above 4080 bytes and less than 8K. For external files, try to keep them less than 1160 bytes to fit within one higher-speed TCP-IP packet (or an approximate multiple thereof). Consider optimizing your CSS and eliminating features to reduce this to a more reasonable size.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7236
Location: Arizona

PostPosted: Sat Apr 28, 2007 9:19 am Reply with quote Back to top

Susann, very interesting. I learn something new every day. :clap:
View user's profile Send private message Visit poster's website
Susann
Spouse Contemplates Divorce


Joined: Dec 19, 2004
Posts: 2102
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sat Apr 28, 2007 10:29 am Reply with quote Back to top

Montego this link is only for you:
Only registered users can see links on this board!
Get registered or login to the forums!
Wink
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7236
Location: Arizona

PostPosted: Sat Apr 28, 2007 10:34 am Reply with quote Back to top

Quote:

this link is only for you


yeah, right... Laughing Now everyone knows.

Very nice indeed. I have definitely bookmarked this one...
View user's profile Send private message Visit poster's website
Gremmie
Moderator


Joined: Apr 06, 2006
Posts: 2356
Location: Iowa, USA

PostPosted: Sat Apr 28, 2007 12:28 pm Reply with quote Back to top

You can't control how big the TCP/IP packets are going to be from server to client as your packets go from hop to hop...and if you factor in retransmissions, packet loss, duplicate packets, and all the usual trouble that goes on then this is just silly, IMHO. The bigger thing to worry about is HTML pages as they are often larger than CSS files. No one seriously tries to size their pages (to fit into a certain sized packet). And again, external CSS files are often cached by the browser so they aren't asked for on every page load.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum