#32774: cache_page decorator doesn't work for cross-browser
-------------------------------------+-------------------------------------
Reporter: ngohoangyell | Owner: nobody
Type: Bug | Status: assigned
Component: Core (Cache system) | Version: 3.2
Severity: Normal | Resolution:
Keywords: cache | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by ngohoangyell:
Old description:
> **What is the issue?**
> - With the same URL, I made 2 requests (1 Postman, 1Firefox), but the
> second request was not cached
>
> **The root cause:**
> - First load using Postman:
> - default header: Accept: */*
>
> - Second load using Firefox:
> - default header: Accept:
> 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
>
> => First load's **cache_key** != Second load's **cache_key**
>
> **PR:**
> https://github.com/django/django/pull/14432
New description:
**What is the issue?**
- With the same URL, I made 2 requests (1 Postman, 1Firefox), but the
second request was not cached
**The root cause:**
- First load using Postman:
- default header: Accept: */*
- Second load using Firefox:
- default header: Accept:
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
=> First load's **cache_key** != Second load's **cache_key**
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32774#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.6d478ef46455d0418d3610894e2eb51f%40djangoproject.com.