Css not load on main domain

What is the name of the domain?

dashjim.com

What is the error number?

What is the error message?

What is the issue you’re encountering

I hosted my website using caprover. the url caprover provide the website run good (dashjim-prod.ctbpanel.apla.us), but on my main domain its not rendered the css. the web is a simpel one page html as landing page.

What steps have you taken to resolve the issue?

  • set dev mode
  • switch the ssl strichnes

Screenshot of the error

Checking the source code view of your Website, since Rocket Loader feature is enabled for your domain:

Make sure to prevent Rocket Loader running for the script element of Tailwinds by adding the data-cfasync="false" attribue to be as follows:

<script src="https://cdn.tailwindcss.com" data-cfasync="false" type="text/javascript"></script>

Upon applying those changes, Purge Everything under the Caching tab of Cloudflare to clear the cache, wait for a minute or two, hit the refresh (F5) to see the changes in your Web browser:

Related article:

4 Likes

cool, this works. thank you @fritex

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.