freedit-org / freedit

The safest and lightest forum, powered by rust.
https://freedit.eu
MIT License
193 stars 23 forks source link

Remove `Date` field from http response headers #152

Closed Jhonfunk closed 8 months ago

Jhonfunk commented 9 months ago
freedit-dev commented 9 months ago

https://freedit.eu/post/1/5#4

What's your cloudflare cache setting?

Jhonfunk commented 9 months ago

cf default setting . Is there any way to get rid of it ?

freedit-dev commented 9 months ago

I think you've got the wrong culprit. Almost every http response contains Date header.

So What's your cloudflare default cache setting?Do you change it to respect existing headers?

In general, html will not be cached.

freedit-dev commented 9 months ago

You'd better disable Brotli compression. I have some problems with it.

Jhonfunk commented 8 months ago

You'd better disable Brotli compression. I have some problems with it.

@freedit-dev

Do you mean disable Brotli on cloudflare or disable Brotli on freedit?

freedit-dev commented 8 months ago

@Jhonfunk cloudflare