Prefetching resources

Google Search Central · Intermediate ·📰 AI News & Updates ·17y ago

Key Takeaways

Prefetching resources to reduce user-perceived latency, using techniques such as caching and downloading ahead of time, as demonstrated by Google's Picasso web albums

Full Transcript

hi my name is Sean brenaman and I'm a software engineer on Picasso web albums image files take longer to download than most kinds of files on the web but users want to look at large photos as quickly as possible on Picasso web we use a lot of tricks to make downloading photos as fast as possible one of the tricks we use is prefetching most of the files that we download are compressed image files we can't do anything about how large they are and they're going to take time over the network to come over but the sooner that we make the request the sooner the file gets there if we make the request at the beginning of an HTML page then as that image file loads all of the smaller files will load and everything will get to the user at about the same time on Picassa web albums we have good usage data where we know that if a user looks at one photo they're probably going to look at the next photo and maybe even the next one so we start downloading those ahead of time by the time they start looking at the photo it's already in the browser's cache that way the page loads instantly the files are already cached and the user can look at more content more quickly a couple of things you want to make sure of uh the files cach well in the browser excellent examples of this are image files JavaScript files stylesheets be careful about how much data you request you don't want to download your entire site you want to download a few resources to make loading that next page a little bit faster this technique doesn't work on every kind of website but where it can be applied it's a huge speed up for your users for more tips go to code.google.com/speed

Original Description

This video explains how prefetching resources can reduce user-perceived latency. For more information, visit https://developers.google.com/speed/
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Google Search Central · Google Search Central · 52 of 60

1 What do I do after being hacked?
What do I do after being hacked?
Google Search Central
2 Can rel="canonical" index my hostname and not my IP address?
Can rel="canonical" index my hostname and not my IP address?
Google Search Central
3 How can I optimize for "deep web" crawling?
How can I optimize for "deep web" crawling?
Google Search Central
4 What's a preferred site structure?
What's a preferred site structure?
Google Search Central
5 Should I tweak my titles and descriptions to improve my CTR?
Should I tweak my titles and descriptions to improve my CTR?
Google Search Central
6 When did Google start displaying "Did you mean" results?
When did Google start displaying "Did you mean" results?
Google Search Central
7 Can I tell Google not to use the posting date in my snippet?
Can I tell Google not to use the posting date in my snippet?
Google Search Central
8 Does the ordering of heading tags matter?
Does the ordering of heading tags matter?
Google Search Central
9 Which SEO agency do you recommend?
Which SEO agency do you recommend?
Google Search Central
10 Will SEO still exist in five years?
Will SEO still exist in five years?
Google Search Central
11 Star Wars or Star Trek?
Star Wars or Star Trek?
Google Search Central
12 Tips on requesting reconsideration
Tips on requesting reconsideration
Google Search Central
13 Do site load times have an impact on Google rankings?
Do site load times have an impact on Google rankings?
Google Search Central
14 Is Google doing anything different for Twitter results?
Is Google doing anything different for Twitter results?
Google Search Central
15 Will domain registration changes ding me in Google?
Will domain registration changes ding me in Google?
Google Search Central
16 How are load times displayed in Webmaster Tools calculated?
How are load times displayed in Webmaster Tools calculated?
Google Search Central
17 Why aren't penalized sites notified in Webmaster Tools?
Why aren't penalized sites notified in Webmaster Tools?
Google Search Central
18 Google India SearchMasters 2009 - Event Roundup
Google India SearchMasters 2009 - Event Roundup
Google Search Central
19 Can you talk about the change in Google's referrer string?
Can you talk about the change in Google's referrer string?
Google Search Central
20 Google Webmaster Help Forum - Koti Ivaturi - Google India SearchMasters '09
Google Webmaster Help Forum - Koti Ivaturi - Google India SearchMasters '09
Google Search Central
21 Welcome Note - Vivaik Bharadwaaj - Google India SearchMasters '09
Welcome Note - Vivaik Bharadwaaj - Google India SearchMasters '09
Google Search Central
22 Google Custom Search - Rajat Mukherjee - Google India SearchMasters '09
Google Custom Search - Rajat Mukherjee - Google India SearchMasters '09
Google Search Central
23 Building Mobile Friendly Websites - Ankit Gupta - Google India SearchMasters '09
Building Mobile Friendly Websites - Ankit Gupta - Google India SearchMasters '09
Google Search Central
24 Q & A with Adam Lasnik - Google India SearchMasters '09
Q & A with Adam Lasnik - Google India SearchMasters '09
Google Search Central
25 Webmaster Central and Best Practices - Adam Lasnik - Google India SearchMasters '09
Webmaster Central and Best Practices - Adam Lasnik - Google India SearchMasters '09
Google Search Central
26 Google Analytics and Website Optimizer - Deepak Kumar - Google India SearchMasters '09
Google Analytics and Website Optimizer - Deepak Kumar - Google India SearchMasters '09
Google Search Central
27 What are the factors that go into determining the PageRank of a Twitter page?
What are the factors that go into determining the PageRank of a Twitter page?
Google Search Central
28 Webmaster Tools spring time design refresh
Webmaster Tools spring time design refresh
Google Search Central
29 Can I publish 100+ pages at once?
Can I publish 100+ pages at once?
Google Search Central
30 Why is the @ character ignored in search queries?
Why is the @ character ignored in search queries?
Google Search Central
31 How can new pages get indexed quickly?
How can new pages get indexed quickly?
Google Search Central
32 Using a barcode scanner with Google Book Search
Using a barcode scanner with Google Book Search
Google Search Central
33 Behind the scenes of Google Webmaster Central videos
Behind the scenes of Google Webmaster Central videos
Google Search Central
34 Are shortened URLs treated differently than other redirects?
Are shortened URLs treated differently than other redirects?
Google Search Central
35 How can I make sure Google reaches my deeper pages?
How can I make sure Google reaches my deeper pages?
Google Search Central
36 What impact does server location have on rankings?
What impact does server location have on rankings?
Google Search Central
37 Will a "coming soon" page negatively impact my site?
Will a "coming soon" page negatively impact my site?
Google Search Central
38 How many pages can Google index from a single site?
How many pages can Google index from a single site?
Google Search Central
39 What if a search for my business triggers "Did you mean?"
What if a search for my business triggers "Did you mean?"
Google Search Central
40 Are CSS-based layouts better than tables for SEO?
Are CSS-based layouts better than tables for SEO?
Google Search Central
41 What impact does "page bloat" have on Google rankings?
What impact does "page bloat" have on Google rankings?
Google Search Central
42 What types of directories are seen as sources of paid links?
What types of directories are seen as sources of paid links?
Google Search Central
43 Should I include my logo text using 'alt' or CSS?
Should I include my logo text using 'alt' or CSS?
Google Search Central
44 What are some best practices for moving to a new CMS?
What are some best practices for moving to a new CMS?
Google Search Central
45 How gzip works
How gzip works
Google Search Central
46 Optimizing the order of scripts and styles
Optimizing the order of scripts and styles
Google Search Central
47 PHP performance tips
PHP performance tips
Google Search Central
48 Minimizing browser reflow
Minimizing browser reflow
Google Search Central
49 Improving website performance with Page Speed
Improving website performance with Page Speed
Google Search Central
50 Optional HTML tags
Optional HTML tags
Google Search Central
51 Optimizing web graphics
Optimizing web graphics
Google Search Central
▶ Prefetching resources
Prefetching resources
Google Search Central
53 HTTP caching
HTTP caching
Google Search Central
54 Is over-optimization bad for a website?
Is over-optimization bad for a website?
Google Search Central
55 Interview with Adam Lasnik - Part 1
Interview with Adam Lasnik - Part 1
Google Search Central
56 Interview with Adam Lasnik - Part 2
Interview with Adam Lasnik - Part 2
Google Search Central
57 Interview with Adam Lasnik - Part 3
Interview with Adam Lasnik - Part 3
Google Search Central
58 Can the geographic location of a web server affect SEO?
Can the geographic location of a web server affect SEO?
Google Search Central
59 Will I be penalized if my URLs all have the same priority?
Will I be penalized if my URLs all have the same priority?
Google Search Central
60 How can I optimize my site on a small budget?
How can I optimize my site on a small budget?
Google Search Central

Prefetching resources can significantly reduce user-perceived latency by downloading files ahead of time and caching them in the browser, as demonstrated by Google's Picasso web albums. This technique can be applied to improve web performance and user experience.

Key Takeaways
  1. Identify resources that can be prefetched
  2. Determine which files to download ahead of time
  3. Implement caching mechanisms to store prefetched resources
  4. Ensure files cache well in the browser
  5. Be cautious of the amount of data requested to avoid downloading entire sites
💡 Prefetching resources can provide a huge speed up for users when applied correctly, but it's essential to consider the type of website and the resources being prefetched.

Related Reads

📰
AI Is Changing American Jobs in 2026: What Workers Need to Know
AI is transforming American jobs in 2026, and workers need to understand its impact to stay relevant
Medium · AI
📰
Big AI's content problem: Take the work, keep the money
AI-generated content raises concerns about fairness and compensation for creators, and it's essential to address these issues to ensure a sustainable future for digital content
The Register
📰
Slowing AI Is The Real Risk To American Leadership
The US may fall behind in AI development if it slows down, rather than moving too fast, which could risk American leadership
Forbes Innovation
📰
From Calculators to AI Slaves: Who Is Really Working for Whom?
Explore the impact of AI on data science jobs and who's really working for whom
Medium · Data Science
Up next
CLARITY ACT DEAD SEPT 15TH = XRP $100!??!
Crypto Sensei
Watch →