~/talk

What is the Android Cache Fix plugin and why do I need to solve my own cache misses?

Talkat droidcon Berlin 2021 · 2021-10-20..10-22· [web-performance]
slides:none on file

The Android cache fix plugin detects real cache misses by comparing two builds and fixes specific AGP bugs: it rewrites path-sensitive task inputs (absolute→relative) via a “Gradle Monty” snapshot-and-restore workaround, converts Room’s schema arg into a command-line argument provider and shuffles outputs into task-specific dirs before merging, and disables caching for cheap copy/jar tasks that are slower to fetch than reexecution. Works across old AGP/Gradle versions, fixes many misses today, and points to AGP fixes (some require upstream changes).

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 2:28Why fast builds matter
  3. 4:57What is build caching
  4. 5:19What is a cache miss
  5. 8:50How the plugin works
  6. 13:04Room annotation processor issues
  7. 19:04Room plugin fixes
  8. 21:14Negative cache avoidance savings
  9. 23:19Disabling bad cache tasks
  10. 24:22Why the plugin exists
  11. 25:05Gradle Enterprise features
  12. 26:31Resources and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.