Opened 4 years ago
Last modified 4 years ago
#32774 closed Bug
cache_page decorator doesn't work for cross-browser — at Initial Version
| Reported by: | HoangYell | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Cache system) | Version: | 3.2 |
| Severity: | Normal | Keywords: | cache |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
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
Note:
See TracTickets
for help on using tickets.