You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest adding an option to arc.static to output the full manifest of fingerprinted files rather than just a single one. I am building an app that creates a service worker to precache static assets. I would like to programmatically generate the list of assets to precache with fingerprinting enabled. I can do this now by reading the static.json file from shared, but this feels like it depends on internal implementation details of the fingerprinting. If we added an option the the arc.static function to output the full object it could.
I would be happy to write a PR to do this if wanted. The API could be something like arc.static('',{fullManifest:true}) and it would return the full manifest object.
The text was updated successfully, but these errors were encountered:
I am not sure it is needed. There are work arounds in most cases that seem fine. You can read the static.json directly and get the full manifest. The original use case, I think, was to create a manifest for service worker to cache assets.
I suggest adding an option to
arc.static
to output the full manifest of fingerprinted files rather than just a single one. I am building an app that creates a service worker to precache static assets. I would like to programmatically generate the list of assets to precache with fingerprinting enabled. I can do this now by reading the static.json file from shared, but this feels like it depends on internal implementation details of the fingerprinting. If we added an option the the arc.static function to output the full object it could.I would be happy to write a PR to do this if wanted. The API could be something like
arc.static('',{fullManifest:true})
and it would return the full manifest object.The text was updated successfully, but these errors were encountered: