Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 12th Feb 2015, 12:08 PM   #1
www.samrathgupta.com
War Room Member
 
Samrath Gupta's Avatar
 
Join Date: 2011
Location: www.samrathgupta.com
Posts: 1,069
Thanks: 242
Thanked 230 Times in 168 Posts
Blog Entries: 1
Default
Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Hey Guys,

SO I had a talk with dev and he is saying we cant load a site within 5 secs If it is dynamic because system has to choose pages to show on homepage and so on..

Is there anyway to fully optimize the site to load as fast it can?

Samrath Gupta is offline  
Unread 12th Feb 2015, 01:05 PM   #2
HyperActive Warrior
 
Join Date: 2014
Posts: 149
Thanks: 10
Thanked 13 Times in 13 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Well your developer is obviously no good, as this is not true.

Go look at some big sites that runs tons of things, and they still load in seconds, or less.

"There comes a time when people get tired."
Markets is offline  
Unread 12th Feb 2015, 01:16 PM   #3
www.samrathgupta.com
War Room Member
 
Samrath Gupta's Avatar
 
Join Date: 2011
Location: www.samrathgupta.com
Posts: 1,069
Thanks: 242
Thanked 230 Times in 168 Posts
Blog Entries: 1
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Markets View Post

Well your developer is obviously no good, as this is not true.

Go look at some big sites that runs tons of things, and they still load in seconds, or less.
Exactly.. Said this but he says they load very quick because they have like multiple servers and CDN and bla bla..

You know someone who can help me with it?

Samrath Gupta is offline  
Unread 12th Feb 2015, 01:43 PM   #4
Never fear the unknown
War Room Member
 
Vin Venture's Avatar
 
Join Date: 2009
Location: Vancouver, BC
Posts: 225
Thanks: 39
Thanked 33 Times in 30 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Obviously it depends on the amount and type of content you're dynamically loading, but if he says it can't be done he's likely not very knowledgeable. There are definitely a number of things you can do do improve page load, the more control you have over your server the more you can do.

With a bit more information about your website and server setup I can definitely help you out!
Vin Venture is offline  
The Following User Says Thank You to Vin Venture For This Useful Post:
Unread 12th Feb 2015, 04:27 PM   #5
Active Warrior
Registered Member
 
Join Date: 2013
Posts: 58
Thanks: 4
Thanked 16 Times in 12 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

It really depends on the type of website you've, which framework you're using etc. Please provide the link to your website so we can tell you more. But, that's what definitely is possible to be done.
geekSoftware is offline  
The Following User Says Thank You to geekSoftware For This Useful Post:
Unread 13th Feb 2015, 05:38 AM   #6
VIP Warrior
War Room Member
 
Join Date: 2006
Location: , , USA.
Posts: 1,795
Thanks: 70
Thanked 287 Times in 259 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

What slows down page load time is JavaScript and images, not querying the database to get the data. Optimize those things first.
Remember the site you are on now is dynamic, how long does it take to load?
KirkMcD is offline  
Unread 13th Feb 2015, 06:52 AM   #7
Senior Warrior Member
War Room Member
 
Join Date: 2009
Posts: 1,057
Thanks: 124
Thanked 198 Times in 147 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

You may be getting the short version of the answer which may be: "Given the type of content and the fact that you are trying to run this on a shared server and don't want to spend hundreds of dollars optimizing your site, it can't be done." Your developer may be perfectly correct- we just don't have enough facts.

rhinocl is offline  
Unread 13th Feb 2015, 09:55 AM   #8
www.samrathgupta.com
War Room Member
 
Samrath Gupta's Avatar
 
Join Date: 2011
Location: www.samrathgupta.com
Posts: 1,069
Thanks: 242
Thanked 230 Times in 168 Posts
Blog Entries: 1
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Originally Posted by KirkMcD View Post

What slows down page load time is JavaScript and images, not querying the database to get the data. Optimize those things first.
Remember the site you are on now is dynamic, how long does it take to load?
Please check your PM

Thanks

Samrath Gupta is offline  
Unread 16th Feb 2015, 09:47 AM   #9
Active Warrior
 
UnleashReality's Avatar
 
Join Date: 2009
Location: Cape Town
Posts: 52
Thanks: 10
Thanked 8 Times in 7 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

A server can generate a dynamic webpage in an order of milliseconds - if your webpage is taking long to load, it's likely hosted content (images etc) dragging performance
UnleashReality is offline  
The Following User Says Thank You to UnleashReality For This Useful Post:
Unread 23rd Feb 2015, 10:52 AM   #10
Warrior Member
 
Join Date: 2011
Location: East Midlands, United Kingdom
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

It's not only the content of the site but the UPLOAD speed of the servers internet connection. Is the connection from the server broadband or fiber-optic?

Other variables can be the speed of the server, memory, hard disk drive IO rate etc. Is there a bottleneck on the server. How many people are trying to access the site etc etc.

This is where I would start!
Darrenshome is offline  
Unread 23rd Feb 2015, 01:18 PM   #11
www.samrathgupta.com
War Room Member
 
Samrath Gupta's Avatar
 
Join Date: 2011
Location: www.samrathgupta.com
Posts: 1,069
Thanks: 242
Thanked 230 Times in 168 Posts
Blog Entries: 1
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Darrenshome View Post

It's not only the content of the site but the UPLOAD speed of the servers internet connection. Is the connection from the server broadband or fiber-optic?

Other variables can be the speed of the server, memory, hard disk drive IO rate etc. Is there a bottleneck on the server. How many people are trying to access the site etc etc.

This is where I would start!
I'm on VPS Server.

ATM, The Traffic is like 100/Day visitors and page size is 3MB and loading time is around 10-20 secs :|

Samrath Gupta is offline  
Unread 27th Feb 2015, 05:43 AM   #12
Maruthi Chekuri
 
Join Date: 2010
Location: Hyderabad
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

You can make a dynamic web page load even in less than a second if your dynamic is not put heavy load on the CPU. Even heavily loaded pages also can be loaded faster if they are cached properly. Caching means storing dynamically generated content in files for a period instead regenerate again and again. If all the static content on the page (for example images & icons) are served from CDNs, that will lower the load on main server and make the main page load faster.
mpchekuri is offline  
Unread 5th Mar 2015, 02:27 PM   #13
Dev4Hire
War Room Member
 
Join Date: 2011
Location: Missouri
Posts: 104
Thanks: 30
Thanked 30 Times in 16 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Is it an ASP based site? If so, IIS automatically goes to "sleep" until a new request comes. And sometimes that can take 5-10 seconds for it to wake up and server your request. You can change IIS to be "always on".
IdeaBox is offline  
Unread 6th Mar 2015, 07:29 AM   #14
Warrior Member
 
Join Date: 2015
Posts: 7
Thanks: 0
Thanked 2 Times in 1 Post
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

According to surveys done by Akamai and Gomez.com, nearly half of web users expect a site to load in 2 seconds or less, and they tend to abandon a site that isn’t loaded within 3 seconds.

Here’s how you can test and measure your site’s load time: Google introduced its own web-based tool accessible via Google Labs, called Page Speed Online and as well as a Chrome extension.

European Web Hosting by Brontobytes
nimonogi is offline  
Unread 10th Mar 2015, 12:27 AM   #15
Warrior Member
 
Join Date: 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

If your page size is 3 MB, then you are doing something wrong ... most likely using way too many graphics. Most people do not have connections capable of loading 3MB in under 2 seconds.

Depending on the page composition, you might be able to make a 3MB page appear to load almost instantly by using javascript to dynamically load content after the page itself loads (e.g. lazy loading mechanisms).

As nimonogi pointed out, there are tools that can be used to check for reasons for slow load times. The top offenders are typically:

- Lots of javascript and/or css files, especially javascript loading before the very closing end tag
- Lots of images, especially large images (even if they are scaled down on the page)

If you posted a link, I could take a quick look and tell you what you might be able to optimize ... but 3 MB in under 3 seconds is a tall order for most connections.
tljennings is offline  
Unread 12th Mar 2015, 11:08 AM   #16
Advanced Warrior
 
PBScott's Avatar
 
Join Date: 2012
Posts: 600
Thanks: 27
Thanked 104 Times in 90 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

It can pretty easily be done, as was said above, you just need a server that can process the request quickly, and then serve it to you. It can be hard work on the server if there are hundreds of requests at a time or something of course. Just like it would be troublesome to your home PC to do the same. Probably good to have a heavy duty processor and a lot of memory on your server.

Sometimes the serving of the webpage can get a bit complicated if there are a ton of images or files being sent, in that case rather than multiple servers, you can simply use multiple urls believe it or not, even if they are on the same server... assuming you have a halve decent server. Our website serves up 200-300 images per page, in seconds from a single server all day long. We use about 6 URLs for the job.

You can see it in the Funny Shirts link below if you want.

If you don't look at this => Really Funny Shirts <= you missed something in life
PBScott is offline  
Unread 12th Mar 2015, 11:28 AM   #17
Amazon FBA Guru
War Room Member
 
TeKn1qu3z's Avatar
 
Join Date: 2012
Location: The Office
Posts: 794
Thanks: 217
Thanked 144 Times in 130 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Samrath Gupta View Post

I'm on VPS Server.

ATM, The Traffic is like 100/Day visitors and page size is 3MB and loading time is around 10-20 secs :|
If you are on a VPS use dedicated server to have fast access, however the hits shows very less.

Try to remove images and unwanted codes from the page, also check the script is running correctly.

I am sure it is possible to do as large sites are loading very fast.
TeKn1qu3z is offline  
Unread 23rd Mar 2015, 05:55 AM   #18
DA Soft Crew
 
Join Date: 2015
Posts: 12
Thanks: 1
Thanked 1 Time in 1 Post
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

I can totally help you with that. A few ways that will do it:

- Javascript minification, grouping and defering
- css minification and grouping
- caching
- images dimensions/sizes
- css and js gzip compression
- css sprites
- more..

Send a PM if you're interested and i'll make your page load in less than 5 seconds :-)

dasoftcrew is offline  
Unread 24th Mar 2015, 05:44 AM   #19
Warrior Member
 
Join Date: 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Hi,

Your page speed is also depends on the request,response time of your database too. If you are using API's that may also lead to these kind of issue. If your on page images are not optimized for web this would be an issue too.

If you have a high speed internet connection more than 4Mbps and still the website is slow that might be the issue with the data retrieval from database.


Thank you

alancflores is offline  
Unread 24th Mar 2015, 07:30 AM   #20
Just Follow Your Dreams
 
voldamort's Avatar
 
Join Date: 2014
Location: earth
Posts: 101
Thanks: 25
Thanked 30 Times in 29 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

you can easily load within 3 sec with not much of work ... the shortest shortcut is to use cloudflare which is free and will make any site blazing fast and it is easy to set up ....
voldamort is offline  
Unread 24th Mar 2015, 12:34 PM   #21
Hoot Leads
 
Join Date: 2015
Location: Virginia
Posts: 29
Thanks: 1
Thanked 5 Times in 5 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

I recommend to have a website load within 5 seconds of the request. Any longer is going to lead to a high bounce rate.

I would recommend to use caching. I'm sure things aren't going to change that dramatically all the time and you can even reset cache every so odd time intervals to make sure they are getting the most up-to-date content.
MaybeImYou is offline  
Unread 26th Mar 2015, 07:34 PM   #22
Advanced Warrior
 
Join Date: 2010
Location: Lawrenceville GA
Posts: 685
Thanks: 52
Thanked 153 Times in 117 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

Dynamic site, a worthless buzzword.

There are a number of factors that play into this

Volume of content.

Target, are you trying for sub 5 seconds on 56k or broadband?

Caching

Queried content (most time consumed here)

There is so much involved in this it is not funny, it is what separates the programmers from developers.

If you have the money, resources and a well designed app. YES

The goal is 7 seconds for your target in reality. 7 seconds is the cut off when people start bailing from a page. A good developer has this in mind always.

rts2271 is offline  
Unread 27th Mar 2015, 11:56 PM   #23
Active Warrior
 
Join Date: 2012
Location: Indonesia
Posts: 66
Thanks: 5
Thanked 14 Times in 13 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

i've heard 'dynamic website' means different to different people. some refers dynamic websites as sites that behaves differently from one user to another, some other people say that it refers to websites that use scripts for its features in order to serve contents, and others say some other things.

on the basic, modern websites have both client-side scripting and server-side requests. this is for websites to dynamically interchanging content. the point of this is to reduce server load time because the user won't need to load the entire page to be regenerated by the server.

if you think that your site takes too long to load, open gtmetrix.com. its simple and easy to use, and you can get a lot of information on how you can improve your site's loading speed.

any website's loading speed for first time visitors is determined by three factors: server respond, number of requests and the size of the page. if you can make your way around on those three, you'll have a faster loading website...guarantee.

if you want to make your site faster for returning visitors, you should use proper caching, better written css-html, and so forth.

and if your site is relying on APIs, you probably need to address the problem to them.

zeyfah is offline  
Unread 29th Mar 2015, 02:54 PM   #24
HyperActive Warrior
War Room Member
 
Join Date: 2009
Posts: 145
Thanks: 3
Thanked 48 Times in 24 Posts
Default
Re: Is it possible to load a dynamic site within 5 secs?
Share on: 
fb share twitter share gplus share more share

As a few people have mentioned, there are too many factors that could be at play here. Some people have mentioned some good front end optimization tips and others have mentioned that too many database queries could cause this.

It's hard to tell what is actually going on without knowing what the site is.

If it's the site in your signature (OfferBlu), then there are some optimization issues that I noticed.

There are 236 requests being made, sending a total of 7.5mb transferred. The initial load is 4.12s and the total load time is 8.48s.

The majority of that is 3rd party javascript and images from a third party service.

Depending on the site, the list of things to do can go on and on.

723Media is offline  
Closed Thread


Bookmarks

Tags
dynamic, load, secs, site


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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 05:52 AM.