﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30594	Add Cache-Control: private to never_cache decorator.	Naoki SASAKI	Naoki SASAKI	"If a Django user wants to ensure that a resource is not cached.
The user might use never_cache decorator, however, sometimes it doesn't work as he or she expected, which means the resource is cached by CDN.
The reason why is that CDN providers cache the resource. For example, Fastly needs to set Cache-Control: private for HTTP header with the origin response. The document is below.
https://docs.fastly.com/guides/tutorials/cache-control-tutorial#do-not-cache

Currently Django's never_cache lacks Cache-Control: private, so I suggest to add this header to a response.

Thanks,"	New feature	closed	Core (Cache system)	dev	Normal	fixed	cache	Naoki SASAKI Florian Apolloner	Accepted	1	0	0	0	0	0
