: Cloudflare displaying cached CSS in-line? I recently enabled CloudFlare on my domain, and when I make HTML statements like this: <link href="css/main.css" rel="stylesheet" /> The CSS gets
I recently enabled CloudFlare on my domain, and when I make HTML statements like this:
<link href="css/main.css" rel="stylesheet" />
The CSS gets displayed in-line, like this:
<style>body{padding-top:40px}span.light{font-weight:lighter!important}span.title{font-size:60px;line-height:1;letter-spacing:-1px;color:inherit}</style>
When I update the file via FTP, the changes are not reflected, which leads me to believe that this is a caching issue.
Is this due to CloudFlare? If so, how do I disable the behavior?
EDIT I also came to the conclusion that caching is behind the behavior after being able to see changes in the page after re-naming the CSS file.
More posts by @Moriarity557
2 Comments
Sorted by latest first Latest Oldest Best
I found that this wasn't a CloudFlare caching issue, it was caused by Google's mod_pagespeed enabled on my DreamHost account's configuration page.
The externally-referenced CSS files stopped appearing inline after disabling this addon.
Manually purge the cache in CloudFlare
support.cloudflare.com/entries/22042092-how-do-i-purge-my-cache
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.