In my log I have many things like this:
cache: [GET /assets/widget.png] stale, valid, store
What does it mean? Is it a cache miss or hit? What does it mean to be stale and also valid?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What it means is that the entry was stale and a conditional request was issued (a request with If-Modified-Since header). The origin server responded with a 304 (Not Modified) status code, implying that the cache entry is valid.
In other words the origin server was reached (miss?) BUT it didn’t send the object again, it just validated it since it was not modified.