Skip to content
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
f06e456
outlining
aninibread Dec 23, 2024
7528d0c
Workers Builds docs revamp
aninibread Dec 28, 2024
1d56579
pages revamp on git integration
aninibread Dec 28, 2024
08bf00b
Changes to Pages build references
aninibread Dec 29, 2024
c624dd5
small pages fixes
aninibread Dec 29, 2024
5e55263
Update src/content/docs/workers/ci-cd/builds/index.mdx
aninibread Dec 30, 2024
7ca6906
Update src/content/docs/workers/ci-cd/builds/advanced-setups.mdx
aninibread Dec 30, 2024
f5b5834
Update src/content/docs/pages/configuration/git-integration/index.mdx
aninibread Dec 30, 2024
75ea2d1
small fix on gitlab name
aninibread Dec 30, 2024
c26f019
Merge branch 'anni/wb-checkruns' of https://github.com/cloudflare/clo…
aninibread Dec 30, 2024
6c2b026
fix
aninibread Dec 30, 2024
da39f50
link fixes
aninibread Dec 30, 2024
a935a75
link fix
aninibread Dec 30, 2024
c0ed4fd
small fix
aninibread Dec 30, 2024
a1403a9
add disclaimer to pages
aninibread Dec 30, 2024
01d33fd
Update src/content/docs/pages/configuration/build-caching.mdx
aninibread Jan 28, 2025
21aed10
Update src/content/docs/pages/configuration/build-caching.mdx
aninibread Jan 28, 2025
8d6e1e5
Update src/content/docs/pages/configuration/build-caching.mdx
aninibread Jan 28, 2025
f1dca1a
Update src/content/docs/pages/configuration/git-integration/github-in…
aninibread Jan 28, 2025
05a72cd
Update src/content/docs/pages/configuration/git-integration/index.mdx
aninibread Jan 28, 2025
2059eb1
Update src/content/docs/pages/configuration/git-integration/index.mdx
aninibread Jan 28, 2025
e4b0906
Update src/content/docs/pages/configuration/git-integration/index.mdx
aninibread Jan 28, 2025
cc33518
Update src/content/docs/pages/configuration/git-integration/github-in…
aninibread Jan 28, 2025
964c525
Update src/content/docs/pages/configuration/git-integration/github-in…
aninibread Jan 28, 2025
50b2138
Update src/content/docs/pages/configuration/git-integration/gitlab-in…
aninibread Jan 28, 2025
91a3d9b
Update src/content/docs/pages/configuration/git-integration/index.mdx
aninibread Jan 28, 2025
e5c7ea3
Update src/content/docs/pages/configuration/git-integration/index.mdx
aninibread Jan 28, 2025
f1c7a09
Update src/content/docs/pages/configuration/git-integration/index.mdx
aninibread Jan 28, 2025
00dcdc4
Update src/content/docs/pages/get-started/git-integration.mdx
aninibread Jan 28, 2025
8ba1832
Update src/content/docs/workers/get-started/guide.mdx
aninibread Jan 28, 2025
93ba67d
Update src/content/docs/workers/ci-cd/builds/troubleshoot.mdx
aninibread Jan 28, 2025
46b63dd
Update src/content/docs/workers/get-started/dashboard.mdx
aninibread Jan 28, 2025
e5d02f9
Update src/content/docs/workers/ci-cd/builds/build-caching.mdx
aninibread Jan 28, 2025
2181b54
Update src/content/docs/workers/ci-cd/builds/git-integration/github-i…
aninibread Jan 28, 2025
234b6f7
Update src/content/docs/workers/ci-cd/builds/git-integration/gitlab-i…
aninibread Jan 28, 2025
427497b
Update src/content/docs/workers/ci-cd/builds/git-integration/index.mdx
aninibread Jan 28, 2025
f8f3993
Update src/content/docs/workers/ci-cd/builds/build-caching.mdx
aninibread Jan 28, 2025
7f4c35a
Update src/content/docs/pages/configuration/git-integration/index.mdx
aninibread Jan 28, 2025
94f8653
Update src/content/docs/pages/configuration/git-integration/github-in…
aninibread Jan 28, 2025
c26b04d
final changes
aninibread Jan 28, 2025
87b42ed
Merge branch 'anni/wb-checkruns' of https://github.com/cloudflare/clo…
aninibread Jan 28, 2025
95d002b
Merge branch 'production' into anni/wb-checkruns
aninibread Jan 28, 2025
e240fdd
Apply suggestions from code review
aninibread Jan 28, 2025
c0513fc
Apply suggestions from code review
aninibread Jan 28, 2025
75c5400
final fixes
aninibread Jan 28, 2025
de50367
Merge branch 'anni/wb-checkruns' of https://github.com/cloudflare/clo…
aninibread Jan 28, 2025
19eff1d
Apply suggestions from code review
aninibread Jan 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 15 additions & 12 deletions src/content/docs/pages/configuration/build-caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ pcx_content_type: concept
title: Build caching
---

Improve Pages build times by turning on build caching to restore dependencies and build output between builds. The first build to occur after enabling build caching on your Pages project will save to cache. Every subsequent build will restore from cache unless configured otherwise.
Improve Pages build times by caching dependencies and build output between builds with a project-wide shared cache.

After you enable build caching on your Pages project, the first build that runs will populate the build cache. Each subsequent build will restore from cache unless otherwise configured.

## Requirements

Expand All @@ -13,22 +15,21 @@ Build caching requires the [V2 build system](/pages/configuration/build-image/#v

### Enable build caching

To enable build caching in the Cloudflare dashboard:
To enable build caching :

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
2. In Account Home, select **Workers & Pages**.
3. In **Overview**, select your Pages project.
4. Go to **Settings** > **Build** > **Build cache** and select **Enable**.
1. Navigate to [Workers & Pages Overview](https://dash.cloudflare.com/?to=/:account/workers-and-pages/) on the Dashboard.
2. Find your Pages project.
3. Go to **Settings** > **Build** > **Build cache**.
4. Select **Enable** to turn on build caching.

### Clear cache

The build cache can be cleared for a project if needed, such as when debugging build issues. To clear the build cache:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
2. In Account Home, select **Workers & Pages**.
3. In **Overview**, select your Pages project.
4. Go to **Settings** > **Build** > **Build cache**.
5. Select **Clear Cache** to clear the build cache.
1. Navigate to [Workers & Pages Overview](https://dash.cloudflare.com/?to=/:account/workers-and-pages) on the Dashboard.
2. Find your Pages project.
3. Go to **Settings** > **Build** > **Build cache**.
4. Select **Clear Cache** to clear the build cache.

## How build caching works

Expand All @@ -47,7 +48,9 @@ Pages will cache the global cache directories of the following package managers:

### Frameworks

Caching the build output from frameworks can speed up subsequent build times. The build cache supports the following frameworks:
Some frameworks provide a cache directory that is typically populated by the framework with intermediate build outputs or dependencies during build time. Pages will automatically detect the framework you are using and cache this directory for reuse in subsequent builds.

The following frameworks support build output caching:

| Framework | Directories cached |
| ---------- | --------------------------------------------- |
Expand Down
128 changes: 0 additions & 128 deletions src/content/docs/pages/configuration/git-integration.mdx

This file was deleted.

Loading
Loading