Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


freitasm

BDFL - Memuneh
80651 posts

Uber Geek
+1 received by user: 41033

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#279745 5-Nov-2020 08:44
Send private message

I have just added a new feature for long threads - this work on modern versions of Chrome, Edge and Opera (and yes, Internet Explorer 11).

 

When browsing a multi-page discussion the next page in order will be loaded in the background (after everything on the page has finished loading). This means by the time you hit "Next" or the page number) the page should show instantly instead of waiting for the server to respond.

 

Firefox and Safari do not support this feature.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


Create new topic
Behodar
11095 posts

Uber Geek
+1 received by user: 6074

Trusted
Lifetime subscriber

  #2598094 5-Nov-2020 09:02
Send private message

Out of interest, is this a standard feature with a name that I can search for, or is it something custom?




kobiak
1615 posts

Uber Geek
+1 received by user: 551

Trusted

  #2598096 5-Nov-2020 09:06
Send private message

Behodar:

 

Out of interest, is this a standard feature with a name that I can search for, or is it something custom?

 

 

preload. pretty expensive feature. if user is on mobile data...





helping others at evgenyk.nz


freitasm

BDFL - Memuneh
80651 posts

Uber Geek
+1 received by user: 41033

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2598107 5-Nov-2020 09:23
Send private message

kobiak:

 

Behodar:

 

Out of interest, is this a standard feature with a name that I can search for, or is it something custom?

 

 

preload. pretty expensive feature. if user is on mobile data...

 

 

Nope, preload is used for resources - and I have implemented this years ago (including preloading of ad scripts, css and more). I also implemented preconnect years ago (which is good on slower mobile networks).

 

This is the link rel="prerender".

 

 





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 




freitasm

BDFL - Memuneh
80651 posts

Uber Geek
+1 received by user: 41033

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2598109 5-Nov-2020 09:24
Send private message

kobiak:

 

preload. pretty expensive feature. if user is on mobile data...

 

 

Also preload is only expensive if resources are loaded and not used within ten seconds. My code loads only resources used on that page so it never goes wasted.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


Behodar
11095 posts

Uber Geek
+1 received by user: 6074

Trusted
Lifetime subscriber

  #2598114 5-Nov-2020 09:30
Send private message

freitasm:

 

Nope, preload is used for resources - and I have implemented this years ago (including preloading of ad scripts, css and more). I also implemented preconnect years ago (which is good on slower mobile networks).

 

This is the link rel="pretender".

 

 

Thanks; might have to investigate using that one. Assuming that you actually meant prerender :)


kobiak
1615 posts

Uber Geek
+1 received by user: 551

Trusted

  #2598116 5-Nov-2020 09:36
Send private message

freitasm:

 

Nope, preload is used for resources - and I have implemented this years ago (including preloading of ad scripts, css and more). I also implemented preconnect years ago (which is good on slower mobile networks).

 

This is the link rel="prerender".

 

 

even worse... i don't have intention to load the page but it was loaded and rendered in background. ouch. :)





helping others at evgenyk.nz


 
 
 
 

Shop now for Dell laptops and other devices (affiliate link).
freitasm

BDFL - Memuneh
80651 posts

Uber Geek
+1 received by user: 41033

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2598118 5-Nov-2020 09:40
Send private message

kobiak:

 

freitasm:

 

Nope, preload is used for resources - and I have implemented this years ago (including preloading of ad scripts, css and more). I also implemented preconnect years ago (which is good on slower mobile networks).

 

This is the link rel="prerender".

 

 

even worse... i don't have intention to load the page but it was loaded and rendered in background. ouch. :)

 

 

There's a great chance that users will load the next page. Modern versions use "prerender" but don't actually load and execute external scripts until later when you open the page. It basically loads the HTML and render the local content. Our HTML is very light and it's a balance between speed and functionality.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


01EG
612 posts

Ultimate Geek
+1 received by user: 36


  #2598360 5-Nov-2020 16:16
Send private message

kobiak:

 

even worse... i don't have intention to load the page but it was loaded and rendered in background. ouch. :)

 

 

Looks like this one


freitasm

BDFL - Memuneh
80651 posts

Uber Geek
+1 received by user: 41033

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2598361 5-Nov-2020 16:18
Send private message

01EG:

 

kobiak:

 

even worse... i don't have intention to load the page but it was loaded and rendered in background. ouch. :)

 

 

Looks like this one

 

 

Exactly. If you open Chrome tracing and save the log as a son you can see the NoState actions.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


01EG
612 posts

Ultimate Geek
+1 received by user: 36


  #2598363 5-Nov-2020 16:23
Send private message

freitasm:

 

Exactly. If you open Chrome tracing and save the log as a son you can see the NoState actions.

 

 

Just wanted to quote:

 

 

it will work if the following two conditions are met: a) the user is not on a low-end device, and b) the user is not on a cellular network.

 


freitasm

BDFL - Memuneh
80651 posts

Uber Geek
+1 received by user: 41033

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2598364 5-Nov-2020 16:25
Send private message

Ultimately if your device and connection can give you faster load times, that's what you get.




Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


 
 
 

Shop now at Mighty Ape (affiliate link).
ripdog
548 posts

Ultimate Geek
+1 received by user: 373
Inactive user


  #2599070 6-Nov-2020 15:23
Send private message

It'd be great if we could opt-in to auto-loading the next page of posts and inlining it, like more modern forum software does. The click target for the page numbers is awfully small...

 

 

 

(Also markdown please! BBCode is horrific.)


freitasm

BDFL - Memuneh
80651 posts

Uber Geek
+1 received by user: 41033

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2599132 6-Nov-2020 16:05
Send private message

ripdog:

 

It'd be great if we could opt-in to auto-loading the next page of posts and inlining it, like more modern forum software does. The click target for the page numbers is awfully small...

 

 

"Next" is a bit larger.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


freitasm

BDFL - Memuneh
80651 posts

Uber Geek
+1 received by user: 41033

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2600264 9-Nov-2020 07:57
Send private message

I have tweaked this a little - not "anticipating" the load of the last page as I've noticed that it sometimes wouldn't bring the most up-to-date content in a fast-moving thread (like the Trump thread currently). It could happen that the browser would load the second last page and after finish processing, it would load the last page behind the scenes, which by the time the visitor finished reading the on-screen content would already be out-of-date. 

 

This means the next page on longer threads won't be downloaded in advance when it happens to be the last one - this includes the second page in two-page threads.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


freitasm

BDFL - Memuneh
80651 posts

Uber Geek
+1 received by user: 41033

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2607919 21-Nov-2020 10:20
Send private message

After a few weeks of testing I have decided to remove this feature as it conflicted with another feature I am working on.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.