﻿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
18401	Use ORM model in database based cache backend	Anssi Kääriäinen	nobody	"The database based cache backend used raw SQL for both querying and table creation. This resulted in a lot of non-DRYness, and SQL which was hard to get correct for 3rd party backends (#18330).

Using ORM in cache backend could result in some slowdown due to qs cloning, and because the ORM in general is a little bit slower than raw SQL, but I can't see that as a blocker. Anybody using db as a cache backend is already using something that isn't as fast as memcached for example. I haven't done any measurements here, but I believe the slowdown is minor.

See pull request https://github.com/django/django/pull/97 for a patch implementing this."	Cleanup/optimization	closed	Core (Cache system)	dev	Normal	wontfix			Design decision needed	0	0	0	0	0	0
