Is it possible to load a dynamic site within 5 secs?

23 replies
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?
#dynamic #load #secs #site
  • Profile picture of the author Markets
    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.
    Signature
    "There comes a time when people get tired."
    {{ DiscussionBoard.errors[9878274].message }}
    • Profile picture of the author Samrath Gupta
      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?
      {{ DiscussionBoard.errors[9878297].message }}
      • Profile picture of the author Vin Venture
        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!
        {{ DiscussionBoard.errors[9878332].message }}
  • Profile picture of the author geekSoftware
    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.
    {{ DiscussionBoard.errors[9878666].message }}
  • Profile picture of the author KirkMcD
    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?
    {{ DiscussionBoard.errors[9879902].message }}
  • Profile picture of the author UnleashReality
    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
    {{ DiscussionBoard.errors[9886348].message }}
  • Profile picture of the author Darrenshome
    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!
    {{ DiscussionBoard.errors[9901392].message }}
  • Profile picture of the author IdeaBox
    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".
    {{ DiscussionBoard.errors[9923333].message }}
  • Profile picture of the author nimonogi
    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.
    {{ DiscussionBoard.errors[9924770].message }}
  • Profile picture of the author tljennings
    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.
    {{ DiscussionBoard.errors[9931812].message }}
  • Profile picture of the author PBScott
    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.
    Signature

    If you don't look at this => Really Funny Shirts <= you missed something in life

    {{ DiscussionBoard.errors[9937240].message }}
  • Profile picture of the author dasoftcrew
    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 :-)
    {{ DiscussionBoard.errors[9958105].message }}
    • Profile picture of the author alancflores
      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
      {{ DiscussionBoard.errors[9960147].message }}
  • Profile picture of the author voldamort
    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 ....
    {{ DiscussionBoard.errors[9960313].message }}
  • Profile picture of the author MaybeImYou
    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.
    {{ DiscussionBoard.errors[9960891].message }}
    • Profile picture of the author rts2271
      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.
      {{ DiscussionBoard.errors[9965609].message }}
  • Profile picture of the author zeyfah
    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.
    {{ DiscussionBoard.errors[9968087].message }}
  • Profile picture of the author 723Media
    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.
    {{ DiscussionBoard.errors[9971074].message }}

Trending Topics