]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: Don't HTTP cache ToasterTable responses
authorElliot Smith <elliot.smith@intel.com>
Mon, 5 Oct 2015 11:08:32 +0000 (12:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 Oct 2015 04:25:18 +0000 (05:25 +0100)
commit44dccd3018554915868d6c8fe5e22624a2fcdec5
treeb161c35771f1b27244c96d85c569a77885e98805
parent70c5e40a0f77ae4835fb95275621c345f8190240
toaster: Don't HTTP cache ToasterTable responses

Django allows generated pages to be cached by default by the
browser. This can result in stale data displaying for some pages.

Instead, disable HTTP caching of ToasterTable responses, so that
each time a ToasterTable view is displayed, its data is
refreshed. This carries a performance penalty, but ensures that
ToasterTable views (e.g. compatible layers) are correctly
refreshed if the user navigates their history with forward/back.

[YOCTO #7660]

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/toastergui/widgets.py