You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using page caching, I'm interested in knowing if a request was served from the cache or not. Would it be possible to add a status property which makes this information accessible from the event? A very basic solution could be the following:
Where 'hit' indicates that the request was served from the cache, 'miss' indicates no valid cached response was found, and 'none' is for requests which are not cached. What do you think?
Describe the feature
When using page caching, I'm interested in knowing if a request was served from the cache or not. Would it be possible to add a
status
property which makes this information accessible from the event? A very basic solution could be the following:Where 'hit' indicates that the request was served from the cache, 'miss' indicates no valid cached response was found, and 'none' is for requests which are not cached. What do you think?
Related:
#2520
#2519
Additional information
The text was updated successfully, but these errors were encountered: