Skip to content

[site-audit] Tailwind CSS CDN used in production — tools.amditis.tech #73

Description

@jamditis

https://tools.amditis.tech loads Tailwind via the Play CDN (cdn.tailwindcss.com), which logs this console warning on every page load:

cdn.tailwindcss.com should not be used in production. To use Tailwind CSS in production, install it as a PostCSS plugin or use the Tailwind CLI: https://tailwindcss.com/docs/installation

The Play CDN compiles styles in the browser at runtime, so it adds a large script, blocks first paint, and is meant for prototyping only.

Suggested fix: build Tailwind with the CLI or a PostCSS step and ship a precompiled static stylesheet.

(Found by the weekly site audit. Severity P3. Note: the separate incomplete-og:image/twitter:image finding is already tracked in #67, so this issue is only about the Tailwind CDN.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3low prioritysite-auditweekly automated site audit

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions