I’m figuring out how to access data stored in service worker web cache. My service worker looks like this: Where the three las ones URLS inside the event ‘install’ are request to my server which responds with JSON that I need to access in the client. They’re stored correctly in the cac…
Tag: client
Upload to Azure Blob via javascript upload ticket
I am building an upload tool for our website. One of the requirements is the ability to store large files into specific azure blobs. I am running into limitations of Azure Web Apps being able to handle this on the server side. Is there a way out there to create an upload ticket (similar to vimeo) that our ser…
Read JSON that is in website source in client-side vanilla javascript
I have a simple JSON file sitting in a data folder within the source of my website. In a javascript script I want to read the JSON and update the DOM with the information inside. The file structure of my website is like this I obviously can’t use require() from nodejs because this is on the client side.…
Multiple websocket connections
Is there any advantages of having two distinct websocket connections to the same server from the same client? To me this seems a bad design choice, but is there any reason why/where it should work out better? Answer There are several reasons why you might want to do that but they probably aren’t too com…