﻿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
28642	Add LRU caching to parse_accept_lang_header	Tom Forbes	nobody	"Re: https://github.com/django/django/pull/9116#issuecomment-332368698

I think `utils.translation.trans_real.parse_accept_lang_header` would benefit from having a `lru_cache` added to it, because the single input is quite regular, and while the function isn't supremely complex it does do a few things (regex split, float casting, sorting based on key) for every request.

The function currently returns a list, this would need to be changed to a tuple."	Cleanup/optimization	closed	Internationalization	dev	Normal	fixed			Accepted	1	0	0	0	1	0
