Created
October 2, 2017 07:48
-
-
Save osvaldasvalutis/dc2085e96f2a2bb7ef51f6703d6f0d8b to your computer and use it in GitHub Desktop.
Service Worker gotchas – https://medium.com/kollegorna/service-worker-gotchas-af20a9dab986
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function update_sw_version() { | |
// writes serviceworker.js file with a new value for "version" variable | |
} | |
add_action('save_post', 'update_sw_version'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment