Skip to content

Use Cache-Control: no-transform to disable Cloudflare auto minify #19309

Closed
@wxiaoguang

Description

@wxiaoguang

Many users report that all the tab/space in code disappear. The code indent/indentation become messy.

The reason is that they put Gitea behind Cloudflare, and they enabled the auto minify feature on Cloudflare.

The workaround is to disable the auto minify feature on Cloudflare.

Also, Cloudflare has an option to disable the auto minify: Cache-Control: no-transform

Issues:

Ref:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions