---
title: "Expunging PageSpeed cache"
date: "2016-06-22"
category: "web-content"
slug: "expunging-pagespeed-cache"
---

## Overview

PageSpeed automatically caches and periodically expires static assets (`.css`, `.js`, `.png`, `.gif`, `.jpg`). During periods of rapid changes, the automatic cache expiration may lag behind your updates, requiring a manual cache flush.

## Purging Cached Assets

Send a `PURGE` request to the asset URL to force PageSpeed to remove its cached copy. This can be done using cURL from the [[is-terminal-access-available]]:

```
curl -v -X PURGE http://web.site/asset/style.css
```

To purge all entries under a common path or across the entire site, use a wildcard:

```
curl -v -X PURGE http://web.site/asset/*
```

## See Also

- [Flushing PageSpeed Server-Side Cache](https://developers.google.com/speed/pagespeed/module/system#purge_cache) (developers.google.com)
