﻿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
20346	cache middleware should vary on full URL	Jamey Sharp	Tim Graham <timograham@…>	"Standard HTTP cache behavior treats different URLs as different resources, but Django's cache middleware only generates cache keys based on `request.get_full_path()`.

I believe that `django.utils.cache._generate_cache_[header_]key` should use `request.build_absolute_uri()` instead of `request.get_full_path()` so different hosts and schemes will get different cache entries.

I'm using Django 1.3 but as far as I can tell this hasn't changed as of today's git master."	Bug	closed	Core (Cache system)	dev	Normal	fixed		susan.tan.fleckerl@…	Accepted	1	0	0	1	0	0
