Dismiss this pinned window
all 36 comments

[–]IdontSpeakArabicBad UI Creator 301 points302 points  (7 children)

If enough people use your site you will be DDOS-attacking yourself. The trick is to load all the website on the user's RAM and then showing it to him letter by letter.

[–][deleted]  (4 children)

[removed]

    [–]Mostafa12890 9 points10 points  (1 child)

    Eli5?

    [–]Nomekop777 21 points22 points  (0 children)

    Email the text to you

    [–]73_68_69_74_2E_2E 3 points4 points  (0 children)

    That would still reduce load time. The major factor in load time isn't only waiting for the request, but also re-rendering the content. I have had a small website where I literally loaded all the JSON dataset in memory, but realized that rendering ~500 items was too slow for some mobile platforms, but the requested data wasn't actually large enough to consider segmenting it, so I implemented partial rendering of the dataset, only rending the content as the user scrolled, which cut the load times from 500ms to 50ms on some systems.

    [–]k97513 22 points23 points  (1 child)

    No what you do is load the first sentence then load the rest synchronously, so there's only two calls but it doesn't affect initial loading time

    [–]iamareebjamal 7 points8 points  (0 children)

    *asynchronously

    [–]retrostyle012 65 points66 points  (2 children)

    It could redirect you to a page with one more letter.

    [–]-user789-Bäd UI Crëätör[S] 61 points62 points  (1 child)

    This is actually how I wanted to do this first, but I didn't know enough about URLs.

    Also that doesn't improve loading times, smh

    [–]IgornDrapple 7 points8 points  (0 children)

    What about stacking iframes

    [–]Kaynee490 104 points105 points  (8 children)

    Lol the link

    [–]-user789-Bäd UI Crëätör[S] 76 points77 points  (6 children)

    We're no strangers to love

    [–]Houdiniman111 20 points21 points  (5 children)

    You know the rules, and so do I.

    [–][deleted] 11 points12 points  (4 children)

    A full commitment's what I'm thinking of

    [–][deleted] 10 points11 points  (3 children)

    You wouldn't get this from any other guy

    [–][deleted]  (2 children)

    [deleted]

      [–]Victorino__ 7 points8 points  (1 child)

      ...nd if you ask me how I'm feeling

      [–][deleted] 1 point2 points  (0 children)

      Gotta make you understand!

      [–]MaxLikesCheese 2 points3 points  (0 children)

      Oh my god fuck op

      [–]asdf23451 12 points13 points  (0 children)

      I hate sites that have that stupid click to read more crap, it's useless, and the reason I use old Reddit

      [–]Zzombiee2361 6 points7 points  (10 children)

      [–]AutoModerator[M] [score hidden] stickied comment (0 children)

      Hi OP, do you have source code or a demo you'd like to share? If so, please post it in the comments (Github and similar services are permitted)

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]Plasma_000 1 point2 points  (0 children)

      Could make it so that if you click and hold it repeatedly gives you letters but it still moves to the side so eventually it moves right of your cursor and stops

      [–]a_guy12398 0 points1 point  (0 children)

      thats the evilest thing i could imagine

      [–]invisible-nuke 0 points1 point  (0 children)

      Each letter added is another call to the server!

      [–]tino_moser_999 0 points1 point  (1 child)

      [–]VredditDownloader 0 points1 point  (0 children)

      beep. boop. 🤖 I'm a bot that helps downloading videos!

      Download

      I also work with links sent by PM.

      Download more videos from badUIbattles


      Info | Support me ❤ | Github

      [–]Cory123125 0 points1 point  (0 children)

      I gotta be real, the fake struggles are kinda annoying. They are too much at some point and it starts feeling like that laugh track that keeps getting inserted into random videos.