# The Service Worker

- [Configuration](https://pwa.spomky-labs.com/1.2.x/the-service-worker/configuration.md)
- [Content Security Policy](https://pwa.spomky-labs.com/1.2.x/the-service-worker/content-security-policy.md)
- [Custom Service Worker Rule](https://pwa.spomky-labs.com/1.2.x/the-service-worker/custom-service-worker-rule.md)
- [Custom Cache Strategies](https://pwa.spomky-labs.com/1.2.x/the-service-worker/custom-service-worker-rule-1.md)
- [Workbox](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox.md)
- [Site Manifest Cache](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/site-manifest-cache.md)
- [Asset Caching](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/warm-caching-1.md)
- [Resource Caching](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/warm-caching.md)
- [Image Caching](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/warm-caching-2.md)
- [Font Caching](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/warm-caching-3.md)
- [Offline Fallbacks](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/offline-fallback.md)
- [BackgoundSync](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/backgoundsync.md)
- [CDN and Versions](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/cdn-and-versions.md)
- [Cache Cleaning](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/cache-names-and-purge.md)
- [Custom Cache Strategy](https://pwa.spomky-labs.com/1.2.x/the-service-worker/workbox/custom-cache-strategy.md)
- [Push Notifications](https://pwa.spomky-labs.com/1.2.x/the-service-worker/push-notifications.md)
- [Complete Example](https://pwa.spomky-labs.com/1.2.x/the-service-worker/complete-example.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pwa.spomky-labs.com/1.2.x/the-service-worker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
