Timeline for Varnish always shows miss on my website
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 26, 2023 at 10:18 | comment | added | Thijs Feryn |
@c.gong The problem isn't necessarily your VCL file, but the behavior of your Magento setup. Please read the nuances I mentioned about the value of the Cache-Control header and the fact that the max-age value is set to zero. That's not something the VCL file will solve, that's the behavior of your Magento that explicitly refuses to cache this page.
|
|
Jun 25, 2023 at 6:31 | comment | added | c.gong | Hi I have used the vcl file from the link you sent but it will not show: X-Magento-Cache-Debug | |
Jun 21, 2023 at 11:49 | history | edited | Thijs Feryn | CC BY-SA 4.0 |
added 2641 characters in body
|
Jun 21, 2023 at 6:45 | comment | added | c.gong | i update my questions,please check,thank you | |
Jun 21, 2023 at 6:33 | comment | added | Thijs Feryn |
Please share your VCL file. It's possible that you strip Set-Cookie headers from your static files in the VCL.
|
|
Jun 21, 2023 at 6:28 | comment | added | c.gong | Hi, so you mean that Set-Cookie might be causing the problem? | |
Jun 21, 2023 at 6:21 | history | answered | Thijs Feryn | CC BY-SA 4.0 |