Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

setting cache-id attribute or cacheId property on platinum-sw-cache has no effect #97

@davidmaxwaterman

Description

@davidmaxwaterman

< !-- Instructions: https://github.com/PolymerElements/platinum-sw/CONTRIBUTING.md#filing-issues -->
^^^ that page does not exist - should be https://github.com/PolymerElements/platinum-sw/blob/master/CONTRIBUTING.md?

Description

Setting the cache-id attribute on <platinum-sw-cache> or setting the cacheId property has no effect.

Expected outcome

I expect the cache name as listed on the chrome dev tools Resources -> Cache Storage to include the string I specify.

Actual outcome

It does not include the string I specify.

Steps to reproduce

  1. Create a simple web page with a platinum-sw, and add a cache-id attribute :
    <platinum-sw-register auto-register clients-claim skip-waiting>
      <platinum-sw-cache cache-id="999" default-cache-strategy="fastest"></platinum-sw-cache>
    </platinum-sw-register>
  1. Run server
  2. Open page in browser and open chrome dev tools and look for the name of the cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions