Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

cache-control affect the behavior of updating offline cached resources in chrome. #18

@neekey

Description

@neekey

I test application offline features in chrome ( by now , it's 30 ), and what made me confused is that after change my manifest , event the application cache events go well ( checking, downloading, updateready..), but the resources still not update( after I refresh the page again ). However I have done lots of experiments, and it turn out that it is caused by the cache-control.

For example, if cache-control set to max-age:20, then during this 20sec, if I update my manifest file, the page will reloading all the resources within the list, but all the downloading process just use the browser cache( not offline cache, just browser cache created by cache-control ), which means your resources will not be updated even u update your manifest.

And this problem just happen to Chrome Desktop version, all the mobile version I have tested just work well.

Just wonder if anyone else also had found this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions