Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Google Chrome IT Technology

Chrome's New 'Cache Partitioning' System Impacts Google Fonts Performance (zdnet.com) 27

A change made in the Google Chrome browser in October has impacted the performance of the Google Fonts service for millions of websites. From a report: The change is an update to Chrome's internal cache system. A browser's cache system works by serving as a temporary storage system for images, CSS, and JavaScript files used by websites. Files stored in the cache are typically reused across multiple sites instead of having the browser re-download each file for every page/tab load. But with the release of Chrome 86 in early October 2020, Google has overhauled how Chrome's entire caching system works. Instead of using one big cache for all websites, Google has "partitioned" the Chrome cache, which will now be storing resources on a per-website and per-resource basis. While this is a big win for user security, preventing some forms of web attacks, this change has affected web services designed around the old cache system.
This discussion has been archived. No new comments can be posted.

Chrome's New 'Cache Partitioning' System Impacts Google Fonts Performance

Comments Filter:
  • Summary (Score:5, Insightful)

    by enriquevagu ( 1026480 ) on Friday December 04, 2020 @04:19PM (#60795140)

    Dejar Editor:

    The summary does not even mention any font, at all. A summary is not the first paragraph of an article. Please do not accept submissions like this one without editing It.

    Yours

    • Re: Summary (Score:4, Informative)

      by Z00L00K ( 682162 ) on Friday December 04, 2020 @04:59PM (#60795296) Homepage Journal

      I definitely consider external fonts harmful, if you can't use device local fonts then there's a problem.
      Many downloaded fonts actually looks worse than the device local fonts as well.

      • by Anonymous Coward

        In Firefox, about:config. Then just set gfx.downloadable_fonts.enabled to false.

      • I definitely consider external fonts harmful, if you can't use device local fonts then there's a problem.
        Many downloaded fonts actually looks worse than the device local fonts as well.

        Well, for one thing they don't follow local font setting. I chose to enforce local font settings on remote fonts in QtWebEngine but it turned out many online fonts, even popular ones are terrible, buggy, and only looks right with "default" settings.. Which is why they don't look as sharp if you don't have a hidpi screen, you need to render them pretty blured as they don't hint well. Well they look sharp in my web engine at least, but then kerning gets broken instead.

  • by Kisai ( 213879 ) on Friday December 04, 2020 @04:23PM (#60795158)

    Realistically, the solution here is to not depend on third party sites for hotlinking content if you're trying to save bandwidth, as it still saves the bandwidth of the website the content is linked from, but the end-user doesn't save anything.

    That can also be solved rather easily by some tweaks to the cache mechanism itself by designating fixed assets as globally cachable. eg embedded content (think youtube's player controls, and jquery libraries) , and thus de-duplicating the cached assets on the client-side.

    • by spitzak ( 4019 )

      Yes it does seem like a local whitelist saying which websites can have their caches merged would solve this. Google could pre-fill this list with their services (and I guess promise to be careful to prevent any exploits to be stored in them).

      • You could fingerprint the cache just based on the cached google font service alone. I don't think whitelisting it would work.

    • This actually can help the user. A frequent use case is to use CDNs to reference common Javascript libraries -- this has nothing to do with saving on server bandwidth, but rather improving latency on your first visit to a site (and stats show a nice bell curve of how long people will wait before deciding your website is taking too long).
  • So, no more reasons to use CDNs for common JS libraries?
    • by zidium ( 2550286 )

      Nope. Zero, if using HTTP2.

      The problem is, all of our browser caches are going to be huge and stuffed full with duplicate fonts and JS libraries.

      How the fuck is that a win?

      Just randomize the response times!!

  • With less RAM than 1GB, you can barely use a x86 computer anymore (there's ARM browsers that work well wit less RAM...)
  • With hardlinks, that would be trivial.

    And while we'e at it, how about for RAM too.

    Because whe our memory is filled with bloat and crap, then at the very least it should not have the same crap twice.

  • by Anonymous Coward
    You're not supposed to be caching anything at all!
  • Is this change part of Chromium itself, or is it only part of Chrome? The article says that it will be added to other Chromium-based browsers in the future, but is that because it's part of Chromium, or because these browsers will simply imitate the specific change to Chrome?
  • Hello! Sorry for off-topic, but do you know about the default defender in google chrome? Is it good or it is not enough or it is better to buy an antivirus? I have found a review of TotalAV or PCMatic. You can read more [bestantiviruspro.org] here if you want, so I don't know what to choose, haha. Have you tried one of these?

UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Working...