@martia_f/clientserver
v1.3.10
Published
We use the ClientServer technology to effectively run the webserver on the client's side, Which causes efficiency to double. We are still working on methods like **require()** and **filesystem access**, Which will be later implemented using **localForage*
Downloads
11
Readme
ClientServer
We use the ClientServer technology to effectively run the webserver on the client's side, Which causes efficiency to double. We are still working on methods like require() and filesystem access, Which will be later implemented using localForage. Furthermore, ClientServer does not require an actual server to be running in order for the website to properly function. So you might ask, How do we do this? Well the answer to that question is simple: Service Workers. These wonders of browser technology allow us to claim full control over the website from the client side, Basically intercepting data on real-time. By implementing even better solutions to a server, We have succeeded in creating a small client that handles a whole website based on Dynamic Cache Storage (DCS). What the hell does that mean? It means that responses are not stored as basic pages, But as an actual function that gets evaluated and then the result from that is sent to the user. Everything in DCS is permanent and requires an actual browser re-caching to update, Which means even if the website is down, The clients will still see a functioning, Dynamic website. Stay tuned for more info!