<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/middleware/cache.py, branch fix-31295</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=fix-31295</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=fix-31295'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-08-21T14:48:36Z</updated>
<entry>
<title>Fixed #36560 -- Prevented UpdateCacheMiddleware from caching responses with Cache-Control 'no-cache' or 'no-store'.</title>
<updated>2025-08-21T14:48:36Z</updated>
<author>
<name>mengxun</name>
<email>mengxun1122@163.com</email>
</author>
<published>2025-08-19T07:40:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ed7c1a56400d64f109f30df3ce697984cdad7c75'/>
<id>urn:sha1:ed7c1a56400d64f109f30df3ce697984cdad7c75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #36500 -- Rewrapped long docstrings and block comments via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2025-07-23T03:41:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=69a93a88edb56ba47f624dac7a21aacc47ea474f'/>
<id>urn:sha1:69a93a88edb56ba47f624dac7a21aacc47ea474f</id>
<content type='text'>
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
</content>
</entry>
<entry>
<title>Removed unneeded hyphens in "counterintuitive".</title>
<updated>2024-07-04T06:30:19Z</updated>
<author>
<name>Carlton Gibson</name>
<email>carlton.gibson@noumenal.es</email>
</author>
<published>2024-07-03T16:54:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=704192e478885762411252979021771ba23b8adb'/>
<id>urn:sha1:704192e478885762411252979021771ba23b8adb</id>
<content type='text'>
Follow-up to 65ad4ade74dc9208b9d686a451cd6045df0c9c3a which added
counterintuitive to the wordlist. Removes unneeded (antiquated)
hyphenated usages.

See e.g. https://www.merriam-webster.com/dictionary/counterintuitive
</content>
</entry>
<entry>
<title>Fixed #27225 -- Added "Age" header when fetching cached responses.</title>
<updated>2024-02-05T12:27:51Z</updated>
<author>
<name>Rinat Khabibiev</name>
<email>srenskiy@gmail.com</email>
</author>
<published>2016-09-15T05:41:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3580b47ed31ec85ae89b13618f36bb463e97acc8'/>
<id>urn:sha1:3580b47ed31ec85ae89b13618f36bb463e97acc8</id>
<content type='text'>
Co-Authored-By: Author: Alexander Lazarević &lt;laza@e11bits.com&gt;
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #33252 -- Made cache middlewares thread-safe.</title>
<updated>2021-11-03T08:39:27Z</updated>
<author>
<name>Iuri de Silvio</name>
<email>iurisilvio@gmail.com</email>
</author>
<published>2021-11-01T00:54:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3ff7b15bb79f2ee5b7af245c55ae14546243bb77'/>
<id>urn:sha1:3ff7b15bb79f2ee5b7af245c55ae14546243bb77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #26601 -- Made get_response argument required and don't accept None in middleware classes.</title>
<updated>2021-01-14T16:50:04Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2021-01-12T19:55:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4bb30fe5d598a7acd2a3055c5e66224cf42a75e9'/>
<id>urn:sha1:4bb30fe5d598a7acd2a3055c5e66224cf42a75e9</id>
<content type='text'>
Per deprecation timeline.
</content>
</entry>
<entry>
<title>Fixed #31928 -- Fixed detecting an async get_response in various middlewares.</title>
<updated>2020-08-28T10:33:15Z</updated>
<author>
<name>Kevin Michel</name>
<email>kevin.michel@sereema.com</email>
</author>
<published>2020-08-24T20:25:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=825ce75faec63ce81601e31152c757a9c28fed13'/>
<id>urn:sha1:825ce75faec63ce81601e31152c757a9c28fed13</id>
<content type='text'>
SecurityMiddleware and the three cache middlewares were not calling
super().__init__() during their initialization or calling the required
MiddlewareMixin._async_check() method.

This made the middlewares not properly present as coroutine and
confused the middleware chain when used in a fully async context.

Thanks Kordian Kowalski for the report.
</content>
</entry>
<entry>
<title>Refs #26601 -- Deprecated passing None as get_response arg to middleware classes.</title>
<updated>2020-02-18T19:03:44Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2019-09-26T17:06:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4d973f593932285cd2f765400d915305d8e7333a'/>
<id>urn:sha1:4d973f593932285cd2f765400d915305d8e7333a</id>
<content type='text'>
This is the new contract since middleware refactoring in Django 1.10.

Co-authored-by: Carlton Gibson &lt;carlton.gibson@noumenal.es&gt;
Co-authored-by: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #30765 -- Made cache_page decorator take precedence over max-age Cache-Control directive.</title>
<updated>2020-01-16T12:39:16Z</updated>
<author>
<name>Flavio Curella</name>
<email>flavio.curella@gmail.com</email>
</author>
<published>2019-09-26T18:41:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d08d4f464ab11cc226d4e197c0f43e26a7fd2961'/>
<id>urn:sha1:d08d4f464ab11cc226d4e197c0f43e26a7fd2961</id>
<content type='text'>
</content>
</entry>
</feed>
