Bloom Filter
A Bloom filter is a highly efficient, probabilistic data structure that Speed Kit uses to keep the Service Worker Cache in the browser synchronized with the server. A server cannot directly tell a browser to delete a stale file from its cache. The Bloom filter solves this by acting as a compact "checklist" of recently changed files. Before serving a file from the browser cache, the Service Worker checks this list. If the file is on the list, it knows it must re-validate it with the server. If not, the file is guaranteed to be fresh and can be served instantly. This process is far more efficient than re-validating every single cached asset.
Related web performance terms
- Back/Forward Cache (bfcache)
The back/forward cache (or bfcache) is a browser optimization that enables instant navigations when a user clicks the back or forward buttons.
- Backend
The backend refers to the server-side components of a web application that are not visible to the end-user. This includes the web server, application logic, and databases.
- Backend Cache (AWS)
This is Speed Kit's central, primary cache where Anonymous HTML and other website assets are stored. It is hosted on Amazon Web Services (AWS), a secure and highly reliable cloud computing platform.
- Backend Time
Backend Time is the duration it takes for a website's Origin Server to process a request and generate the HTML for a page.