UX: How do you use platinum-sw tags in the UX Framework?

I am trying to use the Polymer <platinum-sw-register> tag, which is capable of precaching the specific resources, so that it can serve the user from the cached memory when the network is unavailable there. I am using the tag as follows:

<platinum-sw-register id=”psr” auto-register=true>

<platinum-sw-import-script href=”sw.js”></platinum-sw-import-script>


I am not getting any errors regarding this code. However, I am also not observing any desired behavior on the app or webpage either.

Continue reading


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s