Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Loading a web page

Loading a web page

Scheduled Pinned Locked Moved The Lounge
designcomalgorithmsquestioncode-review
40 Posts 21 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Rage

    Since the complexity of web pages increases with time, with different types of dynamical content, web pages take more and more time to load. I find it very disturbing that design elements are jumping around while the page is being loaded. This came recently to such an extent that by loading some pages, you have to wait 3 seconds until everything is stable enough that you can simply click on a link without it having jumped around three times and you end up clicking on something else. And do not tell me to buy faster internet, I do have fast internet already - Plus I think the browsers need to proceed with the rendering anyway. Ain't nobody interested in improving user experience on web pages anymore ? Add this to the cookie/newsletter/subscription/notofications bullshit coming up every time you load a page... Browsing the internet is painful. :(

    Do not escape reality : improve reality !

    C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #15

    From my perspective this is driven by Google. There is huge pressure to have your sites load fast. Not fast on a desktop, but fast on a mobile device with dodgy 3G connectivity. That's how w're all being judged in Google's Page Rank algorithm (plus the content, of course). Google's gone as far as to say that slow sites will get highlighted as being slow in search results. So if you have a site that requires customisation for each user then you can' just make a static site. You either invest in massive hardware, rewrite everything in the fastest framework you can, a spend huge on hosting providers, or you create sites that are basically static content with JavaScript that loads and fills in the blanks post load. Your Time-To-First-Byte, Time-To-First-Meaningful-Paint and all the other metrics then look really good to Google. You can still then customise the page where needed. The losers are then the developers who have to go through these hoops and the users dealing with the Frankensites. We're having exactly this debate at CodeProject right now. Hosting is not cheap. Hardware is not cheap. Developer time is silly stupid expensive. Yet you have to do what it takes to work around Google's arbitrary rules. It's particularly frustrating that we, a developer site predominantly used (and most useful) as a desktop site for devs currently at their desktop with their IDEs open, are judged on how fast we load on a $100 Android device in rural Saskatchewan.

    cheers Chris Maunder

    R realJSOPR 2 Replies Last reply
    0
    • R Rage

      Since the complexity of web pages increases with time, with different types of dynamical content, web pages take more and more time to load. I find it very disturbing that design elements are jumping around while the page is being loaded. This came recently to such an extent that by loading some pages, you have to wait 3 seconds until everything is stable enough that you can simply click on a link without it having jumped around three times and you end up clicking on something else. And do not tell me to buy faster internet, I do have fast internet already - Plus I think the browsers need to proceed with the rendering anyway. Ain't nobody interested in improving user experience on web pages anymore ? Add this to the cookie/newsletter/subscription/notofications bullshit coming up every time you load a page... Browsing the internet is painful. :(

      Do not escape reality : improve reality !

      K Offline
      K Offline
      kmoorevs
      wrote on last edited by
      #16

      IMHO, it's the 'outside' resources (mostly ads with pics/vids) that cause slow loading. There is no way I would give a customer the kind of experience I get when viewing some of the Insider linked content. I'd like to read the article, but am required to wait 10-20 secs until the scroll works. I'm not running an adblocker yet but have been considering it for awhile now. That said, CP has done it right...the unobtrusive ads here don't bother me and don't seem to slow down load time on any device. :) As for the cookie bit, I don't have notifications on any of the dozens of websites I'm responsible for. If I'm breaking a law, I don't care.

      "Go forth into the source" - Neal Morse

      G 1 Reply Last reply
      0
      • D Daniel Pfeffer

        Eddy Vluggen wrote:

        Do I need cookies to use this site?

        CP's [privacy policy](https://www.codeproject.com/info/privacy.aspx) states:

        We use cookies, a piece of text stored on a user’s computer by their web browser, to store your viewing preferences on the Site and, at your choosing, to store your login information so that once you have logged in you do not need to repeat the login process. We also use a session cookie, meaning it expires soon after you leave the registration process and is not placed on your hard drive, to store your session information during your visit to the Site. Read our Cookie Policy for more information.

        Having the site remember that you logged in is convenient, which for many people trumps privacy. (CP has also earned our trust by not allowing the user list to be used for marketing purposes)

        Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #17

        Daniel Pfeffer wrote:

        Having the site remember that you logged in is convenient, which for many people trumps privacy.

        It is; even though the browser allows for autologin, I prefer CP's cookies.

        Daniel Pfeffer wrote:

        (CP has also earned our trust by not allowing the user list to be used for marketing purposes)

        Also never heard of passwords being stolen from this site.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

        J 1 Reply Last reply
        0
        • L Lost User

          It has nothing to do with whether they are required or not. If a site uses cookies anywhere then they are legally bound to post the warning and invite the user to accept or decline.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #18

          ..or simply not use the tracking cookies. Stalking is legally forbidden, in any form.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

          1 Reply Last reply
          0
          • C Chris Maunder

            From my perspective this is driven by Google. There is huge pressure to have your sites load fast. Not fast on a desktop, but fast on a mobile device with dodgy 3G connectivity. That's how w're all being judged in Google's Page Rank algorithm (plus the content, of course). Google's gone as far as to say that slow sites will get highlighted as being slow in search results. So if you have a site that requires customisation for each user then you can' just make a static site. You either invest in massive hardware, rewrite everything in the fastest framework you can, a spend huge on hosting providers, or you create sites that are basically static content with JavaScript that loads and fills in the blanks post load. Your Time-To-First-Byte, Time-To-First-Meaningful-Paint and all the other metrics then look really good to Google. You can still then customise the page where needed. The losers are then the developers who have to go through these hoops and the users dealing with the Frankensites. We're having exactly this debate at CodeProject right now. Hosting is not cheap. Hardware is not cheap. Developer time is silly stupid expensive. Yet you have to do what it takes to work around Google's arbitrary rules. It's particularly frustrating that we, a developer site predominantly used (and most useful) as a desktop site for devs currently at their desktop with their IDEs open, are judged on how fast we load on a $100 Android device in rural Saskatchewan.

            cheers Chris Maunder

            R Offline
            R Offline
            Rage
            wrote on last edited by
            #19

            Very interesting, I was not aware of this. Though, I am wondering if Google is not missing the point there : what they want is happy users by having fast-loading sites - in the end, is is not what they get, but for different reasons. Is there also a Time-To-Last-Byte ?

            Do not escape reality : improve reality !

            C 1 Reply Last reply
            0
            • L Lost User

              Daniel Pfeffer wrote:

              Having the site remember that you logged in is convenient, which for many people trumps privacy.

              It is; even though the browser allows for autologin, I prefer CP's cookies.

              Daniel Pfeffer wrote:

              (CP has also earned our trust by not allowing the user list to be used for marketing purposes)

              Also never heard of passwords being stolen from this site.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

              J Offline
              J Offline
              JMaxwell88
              wrote on last edited by
              #20

              Is it not true though that GDPR doesn't apply to cookie tokens unless they're used for tracking/behavioural analysis? Remember-me's, Csrf tokens, and session tokens that are required only for the purpose of enabling a website to operate don't require any special permission.

              B 1 Reply Last reply
              0
              • R Rage

                Since the complexity of web pages increases with time, with different types of dynamical content, web pages take more and more time to load. I find it very disturbing that design elements are jumping around while the page is being loaded. This came recently to such an extent that by loading some pages, you have to wait 3 seconds until everything is stable enough that you can simply click on a link without it having jumped around three times and you end up clicking on something else. And do not tell me to buy faster internet, I do have fast internet already - Plus I think the browsers need to proceed with the rendering anyway. Ain't nobody interested in improving user experience on web pages anymore ? Add this to the cookie/newsletter/subscription/notofications bullshit coming up every time you load a page... Browsing the internet is painful. :(

                Do not escape reality : improve reality !

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #21

                The is a rendering engine problem, and is caused by the "fluid" nature of layout.

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                1 Reply Last reply
                0
                • C Chris Maunder

                  From my perspective this is driven by Google. There is huge pressure to have your sites load fast. Not fast on a desktop, but fast on a mobile device with dodgy 3G connectivity. That's how w're all being judged in Google's Page Rank algorithm (plus the content, of course). Google's gone as far as to say that slow sites will get highlighted as being slow in search results. So if you have a site that requires customisation for each user then you can' just make a static site. You either invest in massive hardware, rewrite everything in the fastest framework you can, a spend huge on hosting providers, or you create sites that are basically static content with JavaScript that loads and fills in the blanks post load. Your Time-To-First-Byte, Time-To-First-Meaningful-Paint and all the other metrics then look really good to Google. You can still then customise the page where needed. The losers are then the developers who have to go through these hoops and the users dealing with the Frankensites. We're having exactly this debate at CodeProject right now. Hosting is not cheap. Hardware is not cheap. Developer time is silly stupid expensive. Yet you have to do what it takes to work around Google's arbitrary rules. It's particularly frustrating that we, a developer site predominantly used (and most useful) as a desktop site for devs currently at their desktop with their IDEs open, are judged on how fast we load on a $100 Android device in rural Saskatchewan.

                  cheers Chris Maunder

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #22

                  We have huge data requirements - we have one table that's got 500k records with over 600 columns. And yes, that's the way it's stored. It's obscene, and that's just one table.

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                  D 1 Reply Last reply
                  0
                  • R Rage

                    Since the complexity of web pages increases with time, with different types of dynamical content, web pages take more and more time to load. I find it very disturbing that design elements are jumping around while the page is being loaded. This came recently to such an extent that by loading some pages, you have to wait 3 seconds until everything is stable enough that you can simply click on a link without it having jumped around three times and you end up clicking on something else. And do not tell me to buy faster internet, I do have fast internet already - Plus I think the browsers need to proceed with the rendering anyway. Ain't nobody interested in improving user experience on web pages anymore ? Add this to the cookie/newsletter/subscription/notofications bullshit coming up every time you load a page... Browsing the internet is painful. :(

                    Do not escape reality : improve reality !

                    S Offline
                    S Offline
                    Stuart Dootson
                    wrote on last edited by
                    #23

                    Rage wrote:

                    do not tell me to buy faster internet

                    I'll suggest you think about using a content blocker, instead... I have [Ghostery](https://www.ghostery.com/) installed on most of the browsers I use & for [a sample website](https://www.theverge.com/), it cuts down the amount of stuff downloaded from 15MB to 3MB and the page load time from around 15 seconds to 4 - although the page keeps downloading new ads after the initial 15 seconds...

                    Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                    realJSOPR 1 Reply Last reply
                    0
                    • S Stuart Dootson

                      Rage wrote:

                      do not tell me to buy faster internet

                      I'll suggest you think about using a content blocker, instead... I have [Ghostery](https://www.ghostery.com/) installed on most of the browsers I use & for [a sample website](https://www.theverge.com/), it cuts down the amount of stuff downloaded from 15MB to 3MB and the page load time from around 15 seconds to 4 - although the page keeps downloading new ads after the initial 15 seconds...

                      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                      realJSOPR Offline
                      realJSOPR Offline
                      realJSOP
                      wrote on last edited by
                      #24

                      I run piHole DNS servers at home (Raspberry pi 3B+'s running a purpose-built raspian distribution). They filter out ad sites for all devices connected to my network, so I don't have to configure machines to block the sites.

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                      1 Reply Last reply
                      0
                      • R Rage

                        Very interesting, I was not aware of this. Though, I am wondering if Google is not missing the point there : what they want is happy users by having fast-loading sites - in the end, is is not what they get, but for different reasons. Is there also a Time-To-Last-Byte ?

                        Do not escape reality : improve reality !

                        C Offline
                        C Offline
                        Chris Maunder
                        wrote on last edited by
                        #25

                        There's First Meaningful Interaction, but thankfully they don't have First Meaningful Content. They could be waiting a long time for that.

                        cheers Chris Maunder

                        1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          Buy faster internet.

                          Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                          G Offline
                          G Offline
                          grumpy_nl
                          wrote on last edited by
                          #26

                          That's the advice of a salesmanager

                          1 Reply Last reply
                          0
                          • L Lost User

                            Daniel Pfeffer wrote:

                            every developer has their own idea of control positioning, shapes, etc.

                            Then that developer has never read the Ux Guidelines for WinForms. It has some pretty well-argumented advice, with little room for "creativity". Controls are supposed to behave in a certain predictable way. Can't remember a WinForm app where I had to scroll through a combobox filled with years simply to give a date. Lots of scrolling, and if the mouse is of a bit, the entire screen scrolls.

                            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                            M Offline
                            M Offline
                            milo xml
                            wrote on last edited by
                            #27

                            This! If you're not in the right spot you're not sure what you're scrolling anymore.

                            1 Reply Last reply
                            0
                            • R Rage

                              Since the complexity of web pages increases with time, with different types of dynamical content, web pages take more and more time to load. I find it very disturbing that design elements are jumping around while the page is being loaded. This came recently to such an extent that by loading some pages, you have to wait 3 seconds until everything is stable enough that you can simply click on a link without it having jumped around three times and you end up clicking on something else. And do not tell me to buy faster internet, I do have fast internet already - Plus I think the browsers need to proceed with the rendering anyway. Ain't nobody interested in improving user experience on web pages anymore ? Add this to the cookie/newsletter/subscription/notofications bullshit coming up every time you load a page... Browsing the internet is painful. :(

                              Do not escape reality : improve reality !

                              A Offline
                              A Offline
                              agolddog
                              wrote on last edited by
                              #28

                              Don't forget, part of it is loading, and part is rendering. We use DevExpress tools where I work. They generate such complex html to do their jobs that it's harder for the browser to render the page. In those cases, there's not a lot the developer can control (except to try to find toolsets that run better). So, we do what we can to generate the page a quickly as possible--run fewer, more efficient queries and code, mostly, but also things like caching commonly used data and elements.

                              1 Reply Last reply
                              0
                              • R Rage

                                Since the complexity of web pages increases with time, with different types of dynamical content, web pages take more and more time to load. I find it very disturbing that design elements are jumping around while the page is being loaded. This came recently to such an extent that by loading some pages, you have to wait 3 seconds until everything is stable enough that you can simply click on a link without it having jumped around three times and you end up clicking on something else. And do not tell me to buy faster internet, I do have fast internet already - Plus I think the browsers need to proceed with the rendering anyway. Ain't nobody interested in improving user experience on web pages anymore ? Add this to the cookie/newsletter/subscription/notofications bullshit coming up every time you load a page... Browsing the internet is painful. :(

                                Do not escape reality : improve reality !

                                M Offline
                                M Offline
                                matblue25
                                wrote on last edited by
                                #29

                                Buy a faster computer. :)

                                1 Reply Last reply
                                0
                                • J JMaxwell88

                                  Is it not true though that GDPR doesn't apply to cookie tokens unless they're used for tracking/behavioural analysis? Remember-me's, Csrf tokens, and session tokens that are required only for the purpose of enabling a website to operate don't require any special permission.

                                  B Offline
                                  B Offline
                                  bryanren
                                  wrote on last edited by
                                  #30

                                  WE may understand that, but do (l)users, lawyers, and marketing artists? And if the site decides to start using tracking cookies later, they are already covered.

                                  J 1 Reply Last reply
                                  0
                                  • B bryanren

                                    WE may understand that, but do (l)users, lawyers, and marketing artists? And if the site decides to start using tracking cookies later, they are already covered.

                                    J Offline
                                    J Offline
                                    JMaxwell88
                                    wrote on last edited by
                                    #31

                                    WE - perhaps not, users - even if they do they can feign ignorance and claim they don't in order to have something to moan about, lawyers - if they know their business they will, marketing artists - as for lawyers. If a site requires tracking cookies further down the line then adding both those and acquiring the users permission should be part and parcel of the same implementation. Besides, as it seems this thread has already established, plonking more complication on the UI than is needed is annoying at the basic level and as is the case with GDPR prompts, misleading if it isn't necessary. Anyway, it doesn't affect me. I already wrote to my MP and told her that I want as many cookies as I can get.

                                    A 1 Reply Last reply
                                    0
                                    • K kmoorevs

                                      IMHO, it's the 'outside' resources (mostly ads with pics/vids) that cause slow loading. There is no way I would give a customer the kind of experience I get when viewing some of the Insider linked content. I'd like to read the article, but am required to wait 10-20 secs until the scroll works. I'm not running an adblocker yet but have been considering it for awhile now. That said, CP has done it right...the unobtrusive ads here don't bother me and don't seem to slow down load time on any device. :) As for the cookie bit, I don't have notifications on any of the dozens of websites I'm responsible for. If I'm breaking a law, I don't care.

                                      "Go forth into the source" - Neal Morse

                                      G Offline
                                      G Offline
                                      gggustafson
                                      wrote on last edited by
                                      #32

                                      If I'm breaking a law, I don't care.

                                      You will when you spend a few months in jail or you are fined $K or you lose your job. Your view is unethical and self-serving. Read the EU guidelines.

                                      Gus Gustafson

                                      1 Reply Last reply
                                      0
                                      • Sander RosselS Sander Rossel

                                        Buy faster internet.

                                        Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                                        U Offline
                                        U Offline
                                        User 13224750
                                        wrote on last edited by
                                        #33

                                        No one has mentioned the unbearable numbers of ads that load with what seems like every site. Nor the videos that start w/o you asking them to. Faster browser may help too. AS soon as the MS Chrome Edge came out, I tried it. It was so much faster than IE that I switched after a few days of confirming I had no issues with it.

                                        J 1 Reply Last reply
                                        0
                                        • R Rage

                                          Since the complexity of web pages increases with time, with different types of dynamical content, web pages take more and more time to load. I find it very disturbing that design elements are jumping around while the page is being loaded. This came recently to such an extent that by loading some pages, you have to wait 3 seconds until everything is stable enough that you can simply click on a link without it having jumped around three times and you end up clicking on something else. And do not tell me to buy faster internet, I do have fast internet already - Plus I think the browsers need to proceed with the rendering anyway. Ain't nobody interested in improving user experience on web pages anymore ? Add this to the cookie/newsletter/subscription/notofications bullshit coming up every time you load a page... Browsing the internet is painful. :(

                                          Do not escape reality : improve reality !

                                          S Offline
                                          S Offline
                                          Steve Naidamast
                                          wrote on last edited by
                                          #34

                                          So much for all the new technologies making things more efficient... :(

                                          Steve Naidamast Sr. Software Engineer Black Falcon Software, Inc. blackfalconsoftware@outlook.com

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups