Go Back   DN Lodge Webmaster Forums > Web Design and Development > Web Development Discussion


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-24-06, 08:20 PM
Brandon's Avatar
DNL Founder/Moderator
DNLodge Staff
 
Join Date: Aug 2005
Location: USA
Posts: 5,131
DNL Trust: (0)
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Skype™ to Brandon
Brandon is making his way to the top
Default How to make your site faster loading

In this thread, share some tips with fellow members on how to get your site to load faster.

I'll start.

Try to compress your images as much as you can to lower their size, but be sure to balance image quality and image size.

Also, if you can find a good script to do this, it is helpful to get a script that compresses your HTML, and takes out all unneccesary white spaces in it, before the browser gets the html. This takes milliseconds off every page load, and decreases bandwith.

For an exmaple of this,look at the source of dnlodge through your browser. The only whitespace is where hte YPN ad code is.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Want to remove these ads? Register for your free account here.

  #2  
Old 04-25-06, 08:41 PM
Jas's Avatar
Jas Jas is offline
DNL Junkie
 
Join Date: Oct 2005
Posts: 451
DNL Trust: (0)
Jas is a pretty decent person
Default Re: How to make your site faster loading

Definately do some image compression, like brandon said.

I've also heard of storing templates in a database, but I dont know if that will help things speed wise.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-28-06, 07:16 PM
DNL Member
 
Join Date: Apr 2006
Posts: 27
DNL Trust: (0)
100000euro is a pretty decent person
Default Re: How to make your site faster loading

one tiny tip: caching your page when you have a page with a lot of queries.

Ofcourse this all depends on your website and your information (content).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-28-06, 09:51 PM
Brandon's Avatar
DNL Founder/Moderator
DNLodge Staff
 
Join Date: Aug 2005
Location: USA
Posts: 5,131
DNL Trust: (0)
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Skype™ to Brandon
Brandon is making his way to the top
Default Re: How to make your site faster loading

What do you mean by caching?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 04-29-06, 04:11 AM
DNL Member
 
Join Date: Apr 2006
Posts: 27
DNL Trust: (0)
100000euro is a pretty decent person
Default Re: How to make your site faster loading

hmm, good question.

For me, in general in stance for creating a static page out of your dynamic pages based on specific timestamp.

Now bare with me as english isn't my native language, hope you can understand the following explanation:

Grab your dynamic content using output buffering (ob_start() etc) give it a timestamp and generate a static html page. When a user comes to your website check if your static-timestamp-html is still valid. If valid show your static page else do your dynamic-queries-page.

Remember it all depends on your website content. Here are some examples I can think of:

1/ a busy website with 20.000 unique daily visitors and pages with more then 20 sql queries, which content is updated on daily basis would benefit from caching files.

2/ a website which uses more then one external rss- feeds. Caching your pages which uses rss-feeds will speed up your website.
Another tip: use a cronjob for this. So around midnight it pulls the rss-feeds and creates a static page for that day. No more waiting time from the external website.

From phpfreaks / phpit
Quote:
When you run a popular website that uses PHP and MySQL you will most likely notice that your website becomes slow when your website is at its busiest. If you've really optimized your PHP script and MySQL server, you'll probably be able squeeze some additional performance out of your website, but there comes a time when it's just too much to handle. That's where caching comes in.
Anywayz, tell us your thoughts and ideas.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
faster, loading, make, site


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Site got hacked 6th times, how to protect your site? cheapez Web Development Discussion 12 04-04-07 12:10 PM
Unique PageRank site for sales- DrivePageRank.com [High Potential, Optimized] SEOKC Sites & Domains For Sale 0 07-23-06 02:51 AM
WiiWay.com: Nintendo Wii Site PACKED With Content! PancakeLizard Sites & Domains For Sale 0 06-12-06 01:30 AM
[Ended] Contest #3: Site of the Month: March Brandon DNL Contests & Competitions 25 03-31-06 11:27 PM
Let's Make It Real, or How to Avoid Being a Cyber Ghost - Is Your Site User Friendly? Joseph Web Development Discussion 1 11-14-05 07:22 PM


All times are GMT -5. The time now is 01:52 PM.



Copyright © 2005-2009 DNLodge.com.
vBulletin, © 2000-2009, Jelsoft Enterprises Limited.
SEO by vBSEO.
Advertising |  About Us |  Contact Us |  RSS |  Privacy Policy |  Back to Top