Chrome Now Reloads Pages 28% Faster (techcrunch.com) 124
Google has announced that it has worked with Facebook and Mozilla to make page reloads in Chrome for desktop and mobile significantly faster. According to Google's data, reloading sites with the latest version of Chrome should now be about 28 percent faster. From a report: Typically, when you reload a page, the browser ends up making hundreds of network requests just to see if the images and other resources it cached the first time you went to a site are still valid. As Google engineer Takashi Toyoshima notes in today's announcement, users typically reload pages because they either look broken or because the content looks like it should have been updated (think old-school live blogs). He argues that when browser developers first added this feature, it was mostly because broken pages were common. Today, users mostly reload pages because the content of a site seems stale.
Umm, no... usually the page is broken. (Score:4, Informative)
I reload pages because they are broken, generally due to an excess of advertising. Yes, I could filter out advertising but, I often get paid for having it there. Not that I look at it.
Re:Umm, no... usually the page is broken. (Score:5, Funny)
I reload the page to see if I've gotten any replies to my /. posts since my last refresh.
I know how sad that is.
Re:Umm, no... usually the page is broken. (Score:5, Funny)
I reload the page because the pornhub video froze up.
Re: (Score:1)
But it's man on donkey porn...
Re: (Score:1)
Just grab them by the pussy.
Re: (Score:1)
My privilege is huge.
And growing bigger the more I think about your privilege.
Re: (Score:2)
I'm watching THEIR fucking privileged.
Re: (Score:2)
Who needs to watch porn obviously does not have a fucking-privilege.
Re: (Score:2)
My friends think I'm popular because I set up a custom notification sound for Slashdot reply notification emails.
Re: (Score:2)
Um, /. can notify you of new replies.
Re: (Score:1)
Re: (Score:1)
You pretty much have to look at it since most advertising is a virus, popping up with a new tab fullscreened saying your computer has been taken over.
They can't pay me enough money to not block ads.
Re: (Score:2)
I've found that the Mercury Reader extension effectively removes ads and defeats the "Please unblock ads on our special site" message.
Re:Umm, no... usually the page is broken. (Score:4, Interesting)
I reload pages because they are broken, generally due to an excess of advertising.
Yes, broken javascript in an ad is probably the #1 reason why I reload pages. At least I have a chance to get a different ad (which may also be broken, in a different way).
The #2 reason is brain dead javascript code that doesn't account for things occurring out of order due to dropped packets and retransmits. Which is becoming more of a problem as internet provider drop more packets for content providers that don't pay the bridge troll.
Re: (Score:1)
I mostly see broken pages when some bad JS shits the bed. Pages are developed like applications and they fall over badly when one of their "modules" stops working or returns an unexpected result.
Try blocking social media sites and some unrelated sites just die because they expect their social media widgets/connectors to work.
Re: Umm, no... usually the page is broken. (Score:1)
Now with 28% faster spyware.
Re: (Score:2)
Re: (Score:3)
I feel like I read a book and somebody ripped out the last several chapters.
Don't feel too bad. You won't find those in the article either. Here's the only sentence you missed:
The team simplified Chrome’s reload behavior and it now only validates the main resource.
IE. it used to reload 100's of page elements (eg. checking the etag of each), and now it only checks the main page.
I occasionally find I need to do a SHIFT+Reload (or CTRL+SHIFT+R) to force reload of all elements. With this new "only reload main resource" feature, I sure hope they add a something similar to reproduce the old behavior because a full reload is MUCH more overhead than the current reloads, or pro
Not all pages (Score:4, Informative)
Chrome now reloads Facebook pages up to 28% faster. The rest of the web won't see the benefit.
Re:Not all pages (Score:5, Funny)
Re: (Score:3)
In other news, Chrome now uses 12% more RAM.
In other words, going from 90% to 102%?
Re: Not all pages (Score:1)
Your inability to math has given me a tumor. Thanks. Just fucking thanks.
Re: (Score:2)
Why would I want to upgrade?
Re:Out of memory (Score:1)
Out of memory problems are because Microsoft is stupid. I don't know what Microsoft should really be doing but using the information at that link helped lots.
Re: (Score:2)
moz://a
Re: (Score:2)
moz://a
Hmm... I tried that, but Firefox reported:
(i) The address wasn’t understood
Firefox doesn’t know how to open this address, because one of the following protocols (moz) isn’t associated with any program or is not allowed in this context.
[ Try Again ]
Re: (Score:2)
try about:mozilla
Re: (Score:2)
try about:mozilla
I know.. I was just commenting on how ridiculous the new name is. :-)
Re: (Score:2)
Chrome now reloads Facebook pages up to 28% faster. The rest of the web won't see the benefit.
That's not what the article says. What it says is:
Facebook, just like other pages, says its pages now reload 28 percent faster, too
As for how this feat is accomplished (would have been nice if that was in the summary), what now happens is that when you hit "reload" the browser only reloads the main page. It obviously has to load any resources requested by the new version of the page that weren't requested by the previous version, but it doesn't reload resources that were already loaded for the previous version.
Re: (Score:2)
Efficiency (Score:2)
Re: (Score:3)
That isn't how http works. Send the data and disconnect.
We should have a better protocol that deals with Web 2.0 content. But the protocol wouldn't be http
Re: (Score:2)
What I'm getting at is the solution to Web 2.0 content might be Web 1.0 content.
Or technical tricks to emulate Web 1.0 content.
(I bet google has the chops to come up with a really killer ad blocker.)
Re: (Score:1)
(I bet google has the chops to come up with a really killer ad blocker.)
Yeah, but one of the earlier ways they went evil was to buy doubleclick.net.
Re: (Score:2)
..but then providers wouldn't have control over every aspect of use.. That's a big no no these days. Being able to load an old version to restore functionality? That's piracy! Not selling useage data to advertisers (or the state)? That's leaving money on the table!
Re: (Score:3)
HTTP has supported keep-alive and pipelining since 1.1, the first to make support for name-based virtual hosts mandatory.
Re: (Score:2)
Neither of those solve the issue of checking the status of 100's of elements. They help, but each check still needs to be done, and they can't be done completely parallel (sane connection count limits on servers limit that, and so browsers only do N parallel requests, each keepalive'd).
They have simply decided not to check any of those other elements. Ignoring 100's of elements for a 28% speedup seems like bad math to me. They're only reloading 1 in 100's of elements, so that should be a 100x speedup (10000
Re: (Score:2)
This thread keeps flying off on tangents!
doom said, "Hm perhaps we could use similar techniques to avoid making those hundreds of network connections in the first place..." ... I don't really know what he's getting at here. I took it as a joke - don't get all the advertisments and crap to begin with, but maybe he meant HTTP2 style with one TCP connections and multiplexed requests.
jellomizer stated that HTTP is, "Send the data and disconnect"
tepples pointed out that, "HTTP has supported keep-alive and pipeli
Re: (Score:1)
Depends how you classify HTTP, but the protocol already exists. HTTP/2 has been around for a while and is gaining traction: https://http2.github.io/faq/
I was sceptical at first (binary? WTF?) but it's actually pretty good.
Re: (Score:2)
HTTP 1.0? probably not
HTTP 1.1? Yeah, you can keep the connection open and send requests before the response comes back
HTTP 2.0? Yes.
Re: (Score:2)
If todays average website wasn't a steaming shitshow, then it wouldn't be necessary.
But they are, so we do. *shrug*
Re: (Score:2)
We could even call it HTTP/2.0. Or I guess that is what we called it.
Butt out, Google. (Score:1)
I reload pages for a variety of reasons depending on what I am doing. I already have to drop into dev tools and chose from a variety of reload "flavors" to get some tasks done. If they must persist in deciding for me what I really want to do based on what other people "typically" want to do, at least make the option to express my actual goal more easy to access.
Or, you know, GTFO with your over-engineered "solutions".
Re: (Score:1, Troll)
Re: (Score:2)
If they must persist in deciding for me
They're not deciding for you. They are giving *you* the option, and deciding for everyone else.
Actual Summary (Score:3, Informative)
Because it'd be awful if the summary actually summarized what was being done. From the article:
To overcome this issue, the team simplified Chrome’s reload behavior and it now only validates the main resource. Facebook, just like other pages, says its pages now reload 28 percent faster, too, so the next time you want to check if your friends finally posted new pictures of their cute corgis to Facebook (and you are using the web app instead of the native FB app), you’ll now get the answer faster.
TLDR (Score:5, Informative)
One liner description of the change...
They made refresh 28% faster by having it no longer refresh.
Verified (Score:2)
I can confirm that doing nothing at all on a Facebook page takes 72% of your time.
Ctrl-F5 (Score:3)
Guess it makes Ctrl-F5 even more useful...
Re: (Score:2)
Re: (Score:2)
Ctrl-F5 doesn't refresh the cache on a Mac. That's "Cmd (Apple) + Shift + R”
Or "Cmd (Apple) + R".
Re: (Score:2)
And the "C" key, too?
So wait... (Score:2)
I'm hoping this article is either wrong or incomplete. Otherwise, won't this mean a significant increase in breakages? Suppose the main resource relies on two resources, one of which is in the cache, the other of which isn't. Those two resources implicitly depend on one another in some way (e.g. a new version of JavaScript code might require a new version of CSS, or else rendering would be wrong and vice-versa). If the browser validates only the main resource, then unless the URLs for the resources cha
Re: (Score:2)
I've had so much trouble with CloudFlare caching that I've started putting version numbers in every JS and CSS filename
Such a versioned URL scheme has in fact been the best practice for several years now, as it lets you use far-future Expires: dates to reduce bandwidth use by return visitors.
Re: So wait... (Score:2)
Just give new versions of your content unique names, and problem solved.
Re: Broken behaviour (Score:2)
Web 2.0 stuff only works if you have a reliable low-latency high-bandwidth internet connection.
Funny that they designed this shit for mobile...
Won't this break things? (Score:2)
From what I understand, this changes reload behavior so that reload doesn't completely reload a page. Won't this break the reload behavior when testing a page you're developing and/or when browsing pages that glitched temporarily? Would we end up with a "hold shift during reload" that all tech people will use instead?
Re: (Score:1)
Given how many problems I've encountered with aggressive or incorrect caching in Chrome (seriously, there are won't fix bugs listed because they interpret the RFCs differently to everyone else), I'm not sure how this differs from the current shitty behaviour? Awesome: more hacks and workarounds to get things to reload correctly because Chrome's developers crave speed over usability or RTFRFC.
Y'know what speeds pages up massively? Blocking all the ads, tracking scripts, and other crap that gets downloaded. F
Re: (Score:3)
If you're doing web development, try opening the web development tools and turning off the browser cache. Press F12. On Chrome it's a checkbox called "Disable cache" under the "Network" tab. IE has a "Always refresh from server" option on their network page too.
But... but... but... (Score:2)
Seems like someone is reading a OS book... (Score:1)
First a scheduler and now caching. What OS feature should come next?
Re: (Score:2)
The next version of chrome will contains a complete implementation of emacs, which qualifies as an operating system.
Although the emacs operating system needs a better editor.
What does it have to do with Mozilla? (Score:3)
Re: (Score:2)
Their tag line is "Internet for people, not profit"
I wasn't aware it was "Lets shun the other browser makers and continue to fuck up Firefox"
Re: (Score:2, Informative)
There's actual information at this link, as opposed to the glorified Chrome ad that was submitted: https://code.facebook.com/posts/557147474482256/this-browser-tweak-saved-60-of-requests-to-facebook
Re: (Score:2)
Firefox seems to have been doing this for a while. When I refresh a page in FF it doesn't usually reload big images, just the main HTML.
Not this again (Score:3)
Engineer A: Lets re-interpret intent to make it faster
Engineer B: Lets re-interpret intent to make it current
GOTO A
The history of HTTP cache headers are filled with this same contention between different people trying to reinterpret the meaning of words to further their narrow agendas.
This crap always ends with everyone having a headache without solving anything.
If you want to make reload better try adding mechanisms to explicitly signal intent so it can explicitly be acted on rather than hacking shit to make it work better for *you* because you can.
Re: (Score:2)
I don't think that that's entirely fair.
Sometimes, only through extensive use in a huge variety of use cases, does it become clear that the previously-thought-simple 'cache for a bit' needs rather more nuance...
Can this be cached only if public?
What if a different language was requested the second time?
What if different content encodings are acceptable to my next cache user?
Can I continue to show a slightly stale copy for a while rather than failing completely, and if so how long?
Can I see if the meaning of
Here's an idea to cut down on requests (Score:4, Interesting)
Add the ability to put an ETag in the HTML document along side the resources, so the browser doesn't have to make a conditional "if-none-match" request to check if it is stale.
<img href="blah" etag="12345" />
Re: (Score:1)
<img href="blah?v=12345" />
done.
Awesome! (Score:1)
Nice but.. (Score:1)
that it has worked with Facebook (Score:2)
Re: (Score:2)
Facebook has absolutely no right to know what I'm doing on sites
I'm sure you know this, but what's happening is that these sites you visit have an agreement with Facebook, and write/use code to share this information. They certainly have a right to do this (not that I like it, and in fact use an Adblock filter to strip Facebook from all non-Facebook sites).
firefox (Score:2)
And Facebook seems to be an a*hole for browsers (Score:2)
The original article quotes a facebook article, which speaks about reducing requests by using cache with long expire headers.
Their approach: expire header for one year, filename with a content hash.
This means, facebook spams your browser cache with data, which will never be accessed again after they changed it, just to reduce the number of "if-modified" requests.
Re: (Score:2)
Re: (Score:1)
My God, I cannot wait until the day we all read on Slashdot (no doubt, it will be posted on the front page, I assure you!)
"Alex, the one known as the "Super Fag" APK, has been found dead today in his home from an apparent intestines puncture. It would seem Mr APK was forcing what is known as a 'fake horse cock' up his rectum, which resulted in his colon and intestines being perforated and, ultimately, causing him to bleed out. He shall be missed greatly in this world as is known as "THE BEST SOFTWARE WRITER
Re: (Score:1)
I don't care what malwarebytes said or some retarded online virus scanner. I've seen your code and I've seen what you're doing. You may want to come clean, or I'll start releasing it.
And I'm not trolling you. I also have quite a nice life, Thank you very much. I, unlike you, don't have to spam Slashdot all day like you to feel 'wanted' (Hint: No one likes you.)
You put people down when you start to feel inadequate. Your mental illness is so blatantly obvious that it hurts. Why don't you try posting as a real
Re: (Score:1)
P.s. Fake name? Says the little fat retard hiding behind the AC name.
Pitiful attempt, Alex.
My name is Mike. I have no need to hide my name. I actually have a set of balls that work, unlike you.