Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox doesn't reload CSS added through @import while using CTRL+Shift+R

  • 2 replies
  • 0 have this problem
  • 33 views
  • Last reply by Filcuk

more options

When refreshing and clearing cache using CTRL+Shift+R, browser should reload all assets. However when refreshing site with @import(ed) style sheet, it does not update.

The workaround is to open the style sheet in a new tab (e.g. https://my.web.com/assets/custom.css) and run refresh + clear cache there CTRL+Shift+R, which loads the updated style sheet.

Then, upon refreshing the original site (https://my.web.com), the CSS has been updated.


Is this a bug or expected behaviour?

When refreshing and clearing cache using CTRL+Shift+R, browser should reload all assets. However when refreshing site with @import(ed) style sheet, it does not update. The workaround is to open the style sheet in a new tab (e.g. https://my.web.com/assets/custom.css) and run refresh + clear cache there CTRL+Shift+R, which loads the updated style sheet. Then, upon refreshing the original site (https://my.web.com), the CSS has been updated. Is this a bug or expected behaviour?

Chosen solution

After further testing, I've discovered this was due to Cloudflare caching, NOT Firefox - my apologies.

Read this answer in context 👍 0

All Replies (2)

more options

For such as userChrome.css edits you need to contact whom you got the css edits from the site your referring to and get support to load it correctly.

Helpful?

more options

Chosen Solution

After further testing, I've discovered this was due to Cloudflare caching, NOT Firefox - my apologies.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.