Accessing caches on a html page?

Viewed 460

When I try to open console on my domain's index.html and try to access

caches on Latest Chrome it gives me

caches VM1520:1 Uncaught ReferenceError: caches is not defined at :1:1

But, when I do the same process on stackoverflow or any other sites, it gives me empty list of caches hence the command works there. So how can I support my website to support the cache method?

I have tried using navigation.serviceworkers that also fails

1 Answers
Related