| | #1 |
| www.samrathgupta.com War Room Member Join Date: 2011 Location: www.samrathgupta.com
Posts: 1,069
Thanks: 242
Thanked 230 Times in 168 Posts
Blog Entries: 1 |
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? |
| [SIGPIC][/SIGPIC] What Our Affiliates Say About CPA Prosperity? Find It On Our AffPaying Page! || Email: sam@cpaprosperity.com || SKYPE: samrath.gupta || AIM: cpaprosam || | |
| |
| | #2 |
| HyperActive Warrior Join Date: 2014
Posts: 149
Thanks: 10
Thanked 13 Times in 13 Posts
|
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." | |
| |
| | #3 | |
| www.samrathgupta.com War Room Member Join Date: 2011 Location: www.samrathgupta.com
Posts: 1,069
Thanks: 242
Thanked 230 Times in 168 Posts
Blog Entries: 1 |
You know someone who can help me with it? | |
| [SIGPIC][/SIGPIC] What Our Affiliates Say About CPA Prosperity? Find It On Our AffPaying Page! || Email: sam@cpaprosperity.com || SKYPE: samrath.gupta || AIM: cpaprosam || | ||
| |
| | #4 |
| Never fear the unknown War Room Member Join Date: 2009 Location: Vancouver, BC
Posts: 225
Thanks: 39
Thanked 33 Times in 30 Posts
|
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! |
| |
| The Following User Says Thank You to Vin Venture For This Useful Post: |
| | #5 |
| Active Warrior Registered Member Join Date: 2013
Posts: 58
Thanks: 4
Thanked 16 Times in 12 Posts
|
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.
|
| |
| The Following User Says Thank You to geekSoftware For This Useful Post: |
| | #6 |
| VIP Warrior War Room Member Join Date: 2006 Location: , , USA.
Posts: 1,795
Thanks: 70
Thanked 287 Times in 259 Posts
|
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? |
| |
| | #7 |
| Senior Warrior Member War Room Member Join Date: 2009
Posts: 1,057
Thanks: 124
Thanked 198 Times in 147 Posts
|
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.
|
| | |
| |
| | #8 |
| www.samrathgupta.com War Room Member Join Date: 2011 Location: www.samrathgupta.com
Posts: 1,069
Thanks: 242
Thanked 230 Times in 168 Posts
Blog Entries: 1 | |
| [SIGPIC][/SIGPIC] What Our Affiliates Say About CPA Prosperity? Find It On Our AffPaying Page! || Email: sam@cpaprosperity.com || SKYPE: samrath.gupta || AIM: cpaprosam || | |
| |
| | #9 |
| Active Warrior Join Date: 2009 Location: Cape Town
Posts: 52
Thanks: 10
Thanked 8 Times in 7 Posts
|
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 |
| |
| The Following User Says Thank You to UnleashReality For This Useful Post: |
| | #10 |
| Warrior Member Join Date: 2011 Location: East Midlands, United Kingdom
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
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! |
| |
| | #11 | |
| www.samrathgupta.com War Room Member Join Date: 2011 Location: www.samrathgupta.com
Posts: 1,069
Thanks: 242
Thanked 230 Times in 168 Posts
Blog Entries: 1 |
ATM, The Traffic is like 100/Day visitors and page size is 3MB and loading time is around 10-20 secs :| | |
| [SIGPIC][/SIGPIC] What Our Affiliates Say About CPA Prosperity? Find It On Our AffPaying Page! || Email: sam@cpaprosperity.com || SKYPE: samrath.gupta || AIM: cpaprosam || | ||
| |
| | #12 |
| Maruthi Chekuri Join Date: 2010 Location: Hyderabad
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
|
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.
|
| |
| | #13 |
| Dev4Hire War Room Member Join Date: 2011 Location: Missouri
Posts: 104
Thanks: 30
Thanked 30 Times in 16 Posts
|
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".
|
| |
| | #14 |
| Warrior Member Join Date: 2015
Posts: 7
Thanks: 0
Thanked 2 Times in 1 Post
|
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 | |
| |
| | #15 |
| Warrior Member Join Date: 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
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. |
| |
| | #16 |
| Advanced Warrior Join Date: 2012
Posts: 600
Thanks: 27
Thanked 104 Times in 90 Posts
|
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
| |
| |
| | #17 | |
| Amazon FBA Guru War Room Member Join Date: 2012 Location: The Office
Posts: 794
Thanks: 217
Thanked 144 Times in 130 Posts
|
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. | |
| |
| | #18 |
| DA Soft Crew Join Date: 2015
Posts: 12
Thanks: 1
Thanked 1 Time in 1 Post
|
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 :-) |
| | |
| |
| | #19 |
| Warrior Member Join Date: 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
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 |
| | |
| |
| | #20 |
| Just Follow Your Dreams Join Date: 2014 Location: earth
Posts: 101
Thanks: 25
Thanked 30 Times in 29 Posts
|
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 ....
|
| |
| | #21 |
| Hoot Leads Join Date: 2015 Location: Virginia
Posts: 29
Thanks: 1
Thanked 5 Times in 5 Posts
|
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. |
| |
| | #22 |
| Advanced Warrior Join Date: 2010 Location: Lawrenceville GA
Posts: 685
Thanks: 52
Thanked 153 Times in 117 Posts
|
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. |
|
Ralph Smith Mercenary development and deployment. | |
| |
| | #23 |
| Active Warrior Join Date: 2012 Location: Indonesia
Posts: 66
Thanks: 5
Thanked 14 Times in 13 Posts
|
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. |
| | |
| |
| | #24 |
| HyperActive Warrior War Room Member Join Date: 2009
Posts: 145
Thanks: 3
Thanked 48 Times in 24 Posts
|
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. |
| | |
| |
|
| Bookmarks |
| Tags |
| dynamic, load, secs, site |
| |