Icy Phoenix

     
 

¿Optimizing Icy Phoenix Tips?

¿Optimizing Icy Phoenix Tips?

Article
Reply with quote    Download Post  
Post ¿Optimizing Icy Phoenix Tips? 
 
Hello Everybody..
I am again.. I recently post something related to don't load news images and active content in the portal.
Also, recently i have installed a new extension to Firefox, called YSlow.. This extension seems to tell me some errors on my page related to the web speed.. I want to know if this tips applies to the CMS in general, and if its possible to solve them.. I know that there is a "Fast and Furious" mode, but these errors are related to the HTML, CSS and Javascript..
These are "the most important" "tips" (based on THIS page):

- Make a fewer HTTP requests:

This page has 14 external Javascript scripts. Try combining them into one.
This page has 3 external stylesheets. Try combining them into one.
This page has 21 external background images. Try combining them with CSS sprites.

Decreasing the number of components on a page reduces the number of HTTP requests required to render the page, resulting in faster page loads. Some ways to reduce the number of components include: combine files, combine multiple scripts into one script, combine multiple CSS files into one style sheet, and use CSS Sprites and image maps.

- Use a Content Delivery Network (CDN)

You can specify CDN hostnames in your preferences. See YSlow FAQ for details.

User proximity to web servers impacts response times. Deploying content across multiple geographically dispersed servers helps users perceive that pages are loading faster.

(there are so many links)

- Add Expires headers

There are 127 static components without a far-future expiration date.

Web pages are becoming increasingly complex with more scripts, style sheets, images, and Flash on them. A first-time visit to a page may require several HTTP requests to load all the components. By using Expires headers these components become cacheable, which avoids unnecessary HTTP requests on subsequent page views. Expires headers are most often associated with images, but they can and should be used on all page components including scripts, style sheets, and Flash.

- Compress components with gzip

There are 16 plain text components that should be sent compressed

Compression reduces response times by reducing the size of the HTTP response. Gzip is the most popular and effective compression method currently available and generally reduces the response size by about 70%. Approximately 90% of today's Internet traffic travels through browsers that claim to support gzip.

- Put JavaScript at bottom

There are 11 Javacript scripts found in the head of the document

JavaScript scripts block parallel downloads; that is, when a script is downloading, the browser will not start any other downloads. To help the page load faster, move scripts to the bottom of the page if they are deferrable.

- Configure entity tags (ETags)

There are 127 components with misconfigured ETags

Entity tags (ETags) are a mechanism web servers and the browser use to determine whether a component in the browser's cache matches one on the origin server. Since ETags are typically constructed using attributes that make them unique to a specific server hosting a site, the tags will not match when a browser gets the original component from one server and later tries to validate that component on a different server.


----------

I don't know if this can help in something, but i saw this and i think it's interesting..



 
Danielc - View user's profile Send private message  
Danielc [ Sun 11 Oct, 2009 17:17 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


¿Optimizing Icy Phoenix Tips?

Comments
Reply with quote    Download Post  
Post Re: ¿Optimizing Icy Phoenix Tips? 
 
I also have YSlow installed and I have a look at those reports from time to time.

Currently the only thing which is useful is reducing JS size.

I have already worked on that on the development version and I'm thinking about automatically compress some common scripts to reduce their size.

Same for CSS, I have written some code based on this:

http://www.stsoftware.biz/support/viewtopic.php?f=22&t=594

But I still need some debugging about that and I need to make sure to not mess up things with compressed JS or CSS.

As soon as I have a working solution, I will post here (if I remember... ) so you can test on this site.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Mon 12 Oct, 2009 10:44 ]
Reply with quote    Download Post  
Post Re: ¿Optimizing Icy Phoenix Tips? 
 
Interesting i will test once you have said it is installed..

   



 
DWho - View user's profile Send private message  
DWho [ Mon 12 Oct, 2009 11:55 ]
Reply with quote    Download Post  
Post Re: ¿Optimizing Icy Phoenix Tips? 
 
Excellent!!!
And... Put the java scripts at the bottom isn't useful??



 
Danielc - View user's profile Send private message  
Danielc [ Mon 12 Oct, 2009 16:11 ]
Reply with quote    Download Post  
Post Re: ¿Optimizing Icy Phoenix Tips? 
 
It depends where those functions are used. Some functions are used while page is loading so those functions may not be included at the bottom.

Anyway I have already optimized some JS inclusions in current development package.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Wed 21 Oct, 2009 20:05 ]
Reply with quote    Download Post  
Post Re: ¿Optimizing Icy Phoenix Tips? 
 
Why are you using Prototype & scriptaculous ? Where ?
I can't find =/



 
Informpro - View user's profile Send private message  
Informpro [ Wed 21 Oct, 2009 21:09 ]
Reply with quote    Download Post  
Post Re: ¿Optimizing Icy Phoenix Tips? 
 
Lightbox and highslide.

Also CMS section uses prototype.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Wed 21 Oct, 2009 21:46 ]
Reply with quote    Download Post  
Post Re: ¿Optimizing Icy Phoenix Tips? 
 
I was going to ask that!!..
Thanks for your help.. Sorry, but i have another doubt.. Why some contents like templates files and javascript aren't gzip compressed?? I want to reduce my webpage's size.. And i have done somethings, like compressing and/or changing some png's.. These actions have reduced my web page size about 60 Kb..



 
Danielc - View user's profile Send private message  
Danielc [ Thu 22 Oct, 2009 01:11 ]
Reply with quote    Download Post  
Post Re: ¿Optimizing Icy Phoenix Tips? 
 
As far as I know images could not be GZip compressed.

Did you enable GZip in ACP?



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Thu 22 Oct, 2009 08:52 ]
Reply with quote    Download Post  
Post Re: ¿Optimizing Icy Phoenix Tips? 
 
I'm not talking about images.. I'm talking about css and javascript files hehe..

And yes, i have enabled GZip in the ACP.. The problem is that some files aren't compressed ..

Thanks for your help..



 
Danielc - View user's profile Send private message  
Danielc [ Fri 23 Oct, 2009 00:35 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron