<commit_before>---
layout: updates/post
title: "Introducing Background Sync"
description: "Background sync is a new web API that lets you defer actions until the user has stable connectivity. This is useful for ensuring that whatever the user wants to send, is actually sent."
published_on: 2015-12-09
updated_on: 2015-12-09
authors:
  - jakearchibald
tags:
  - service-worker
featured_image: /web/updates/images/2015/12/sync/emojoy.png
---

## DRAFT - not ready for prime time yet. 

<p class="intro">Background sync is a new web API that lets you defer actions until the user has stable connectivity. This is useful for ensuring that whatever the user wants to send, is actually sent.</p>

## The problem

The internet is a great place to waste time. Without wasting time on the internet, we wouldn’t know <a href="https://www.youtube.com/watch?v=-Z4jx5VMw8M">cats dislike flowers</a>, <a href="https://www.youtube.com/watch?v=PrjkqW37n_k">chameleons love bubbles</a>, and "You do What They Told Ya" as sung by "Rage Against the Machine" <a href="https://youtu.be/W4BzJm4-Wo0?t=14s">sounds like the Japanese for, "Break the chicken nugget, daddy"</a>.

But sometimes, just sometimes, we’re not looking to waste time. The desired user experience is more like:

1. Phone out of pocket.
1. Achieve minor goal.
1. Phone back in pocket.
1. Resume life.
<commit_msg>Remove draft comment from bg sync update<commit_after>---
layout: updates/post
title: "Introducing Background Sync"
description: "Background sync is a new web API that lets you defer actions until the user has stable connectivity. This is useful for ensuring that whatever the user wants to send, is actually sent."
published_on: 2015-12-09
updated_on: 2015-12-09
authors:
  - jakearchibald
tags:
  - service-worker
featured_image: /web/updates/images/2015/12/sync/emojoy.png
---

<p class="intro">Background sync is a new web API that lets you defer actions until the user has stable connectivity. This is useful for ensuring that whatever the user wants to send, is actually sent.</p>

## The problem

The internet is a great place to waste time. Without wasting time on the internet, we wouldn’t know <a href="https://www.youtube.com/watch?v=-Z4jx5VMw8M">cats dislike flowers</a>, <a href="https://www.youtube.com/watch?v=PrjkqW37n_k">chameleons love bubbles</a>, and "You do What They Told Ya" as sung by "Rage Against the Machine" <a href="https://youtu.be/W4BzJm4-Wo0?t=14s">sounds like the Japanese for, "Break the chicken nugget, daddy"</a>.

But sometimes, just sometimes, we’re not looking to waste time. The desired user experience is more like:

1. Phone out of pocket.
1. Achieve minor goal.
1. Phone back in pocket.
1. Resume life.

{'fraction_non_alphanumeric': 0.0967503692762186, 'fraction_numerical': 0.026587887740029542, 'mean_word_length': 4.375, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5775662', 'n_tokens_mistral': 882, 'n_tokens_neox': 818, 'n_words': 357}