Click here to Skip to main content
15,923,789 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Cool IE favourites feature Pin
User 1013254622-Sep-17 0:41
User 1013254622-Sep-17 0:41 
GeneralRe: Cool IE favourites feature Pin
kmoorevs22-Sep-17 4:22
kmoorevs22-Sep-17 4:22 
GeneralRe: Cool IE favourites feature Pin
Abhinav S22-Sep-17 4:30
Abhinav S22-Sep-17 4:30 
JokeRe: Cool IE favourites feature Pin
Richard Deeming22-Sep-17 4:42
mveRichard Deeming22-Sep-17 4:42 
GeneralRe: Cool IE favourites feature Pin
Richard Deeming22-Sep-17 2:27
mveRichard Deeming22-Sep-17 2:27 
GeneralRe: Cool IE favourites feature Pin
Abhinav S22-Sep-17 3:55
Abhinav S22-Sep-17 3:55 
GeneralRe: Cool IE favourites feature Pin
jgakenhe22-Sep-17 4:53
professionaljgakenhe22-Sep-17 4:53 
GeneralSuspicious! Progressive Apps - service workers Pin
raddevus21-Sep-17 10:47
mvaraddevus21-Sep-17 10:47 
I started reading this book about Building Progressive Web Apps - O'Reilly (amazon link)[^]. Very interesting -- kind of a hybrid between web app that gives a UX of a native app. Okay, cool.
Then I read about Service Workers...
Read this and keep in mind that these are implemented in JavaScript inside your browser.
Progressive Web Apps Book says
A service worker is a script that can be registered to control one or more pages of your site. Once installed, a service worker sits outside of any single browser window or tab.
From this place, a service worker can listen and act on events from all pages under its control. Events such as requests for files from the web can be intercepted, modified, passed on and returned to the page.
This means there is a layer between the page and the web that can respond to request independently of a network connection. A layer that works even if the user is offline. This layer can detect an offline state or slow responses from the server and return cached content.

Keep in mind these Service Workers can run, even if you closed the tab of the web site.
This makes me think of all those times my Chrome browser has gone insane doing stuff and I have no idea what it is doing. I'm not worried about Progressive Web App necessarily doing nefarious stuff --- protected by CORS -- but I am a bit concerned about uninformed web site devs using this functionality to the extreme so that it eats process on my machine simply because I've visited their web site. Confused | :confused:
Seems a bit crazy to me.

Unsure | :~ Of course, I've only read a couple of chapters and the one (google dev page below) so maybe there's more protection from poorly written code. Unsure | :~

You can see the official docs on Service Workers at google's dev site:
Service Workers: an Introduction Web Google Developers[^]

modified 21-Sep-17 16:57pm.

GeneralRe: Suspicious! Progressive Apps - service workers Pin
abmv21-Sep-17 18:22
professionalabmv21-Sep-17 18:22 
GeneralRe: Suspicious! Progressive Apps - service workers Pin
raddevus22-Sep-17 1:41
mvaraddevus22-Sep-17 1:41 
GeneralRe: Suspicious! Progressive Apps - service workers Pin
abmv23-Sep-17 6:41
professionalabmv23-Sep-17 6:41 
GeneralTravel Mugs Pin
MarcusCole683321-Sep-17 7:13
professionalMarcusCole683321-Sep-17 7:13 
GeneralRe: Travel Mugs PinPopular
Gary Wheeler21-Sep-17 7:20
Gary Wheeler21-Sep-17 7:20 
GeneralRe: Travel Mugs Pin
Maximilien21-Sep-17 7:47
Maximilien21-Sep-17 7:47 
GeneralRe: Travel Mugs Pin
stoneyowl221-Sep-17 9:22
stoneyowl221-Sep-17 9:22 
GeneralRe: Travel Mugs Pin
PIEBALDconsult21-Sep-17 7:43
mvePIEBALDconsult21-Sep-17 7:43 
GeneralRe: Travel Mugs Pin
Maximilien21-Sep-17 7:45
Maximilien21-Sep-17 7:45 
GeneralRe: Travel Mugs Pin
kmoorevs21-Sep-17 7:46
kmoorevs21-Sep-17 7:46 
JokeRe: Travel Mugs Pin
jgakenhe21-Sep-17 7:56
professionaljgakenhe21-Sep-17 7:56 
GeneralRe: Travel Mugs Pin
Charles Programmer22-Sep-17 15:31
Charles Programmer22-Sep-17 15:31 
GeneralRe: Travel Mugs Pin
Kyle Moyer21-Sep-17 8:20
Kyle Moyer21-Sep-17 8:20 
GeneralRe: Travel Mugs Pin
RandyBuchholz21-Sep-17 8:38
RandyBuchholz21-Sep-17 8:38 
GeneralRe: Travel Mugs Pin
Gary Wheeler22-Sep-17 1:34
Gary Wheeler22-Sep-17 1:34 
GeneralRe: Travel Mugs Pin
RandyBuchholz22-Sep-17 2:56
RandyBuchholz22-Sep-17 2:56 
GeneralRe: Travel Mugs Pin
Gary Wheeler22-Sep-17 3:18
Gary Wheeler22-Sep-17 3:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.