Page previews are serving a stale version of style.css (and perhaps other code)

For Workers & Pages, what is the name of the domain?

pages.dev

What is the error number?

none

What is the error message?

none

What is the issue or error you’re encountering

Page previews are serving a stale version of style.css (and perhaps other code)

What steps have you taken to resolve the issue?

Checked the build logs (no errors), redeployed numerous times.

I have tested in Tor to confirm it’s not a browser caching issue.

I have compared the style.css in my GitHub commit and the hash carefully to what Cloudflare is serving and the files are different. Cloudflare keeps serving an old style.css

Cloudflare Pages keeps serving a broken version of styles.css, even on brand new deployment URLs. The deployment process appears successful in the logs.

What are the steps to reproduce the issue?

It reproduces itself indefinitely. My css is not updating when I deploy a new preview no matter how many times I do it.

Hello, and welcome back!

The Cloudflare Community is a place where Cloudflare members are able to discuss and collaborate. Since most here are members like you, it is hard for them to assist without knowing the name of the site that you are asking for help with. If you can offer more details than just the domain name, like the URI path of affected files, or relevant response headers, it may further increase the likelihood of someone being able to help you find an answer. Here is a lit of useful information to include in your topic.

Include With Every Post

  1. The name of the domain about which you’re posting, your interest; visitor, owner, vendor, etc.
  2. Expected results & actual results? What did you expect to happen and what is actually happening?
  3. Steps you’ve taken to fix it. What CommunityTips, ExpertTips, videos, directions, instructions, and advice you’ve followed to try & fix the issue?
  4. Screenshot of the problem.
  5. Specific error message & error code/number you’re seeing.
  6. If you contact Cloudflare Customer Support, please share the ticket number, we’ll share details from your Community post with Support.