Fixed more links

This commit is contained in:
Brandon Rozek 2022-12-05 12:53:11 -05:00
parent f0eb3f37d8
commit 48ca5b2014
4 changed files with 5 additions and 5 deletions

View file

@ -77,4 +77,4 @@ This is where the majority of my research went towards. It’s not as practi
#### Conclusion #### Conclusion
Having a function that goes between two points is incredibly handy. Now when it comes to positioning, I don’t have to guess which values match the design. If i cant something to be between here and there fluidly, I can do it. What about animation? Chaining them together should have an interesting affect… P.S For those of you crazy people who like to see the theory behind the math, (like myself) I have my scanned work [here](https://brandonrozek.com/2015/04/function-two-points-theory/). Having a function that goes between two points is incredibly handy. Now when it comes to positioning, I don’t have to guess which values match the design. If i cant something to be between here and there fluidly, I can do it. What about animation? Chaining them together should have an interesting affect… P.S For those of you crazy people who like to see the theory behind the math, (like myself) I have my scanned work [here](/blog/2015-04-16-function-two-points-theory/).

View file

@ -66,7 +66,7 @@ var trimCache = function (cacheName, maxItems) {
}; };
``` ```
And that got me thinking. In what situations is this problem more likely to occur? This particular problem happens when a lot of files are being called asynchronously. This problem doesn’t occur when only one file is being loaded. So when do we load a bunch of files? During page load. During page load, the browser might request css, javascript, images, etc. Which for most [websites](http://royal.pingdom.com/2011/11/21/web-pages-getting-bloated-here-is-why/), is a lot of files. Let’s now move our focus back to the humble script.js. Before, the only role it played with service workers was registering the script. However, if we can get the script to notify the service worker when the page is done loading, then the service worker will know when to trim the cache. And that got me thinking. In what situations is this problem more likely to occur? This particular problem happens when a lot of files are being called asynchronously. This problem doesn’t occur when only one file is being loaded. So when do we load a bunch of files? During page load. During page load, the browser might request css, javascript, images, etc. Which for most [websites](https://web.archive.org/web/20151103105513/http://royal.pingdom.com/2011/11/21/web-pages-getting-bloated-here-is-why/), is a lot of files. Let’s now move our focus back to the humble script.js. Before, the only role it played with service workers was registering the script. However, if we can get the script to notify the service worker when the page is done loading, then the service worker will know when to trim the cache.
```javascript ```javascript
if ('serviceWorker' in navigator) { if ('serviceWorker' in navigator) {
@ -250,4 +250,4 @@ window.addEventListener("load", function() {
navigator.serviceWorker.controller.postMessage({"command":"trimCache"}); navigator.serviceWorker.controller.postMessage({"command":"trimCache"});
} }
}); });
``` ```

View file

@ -10,7 +10,7 @@ I have several old Wordpress sites lying around that I would like to archive but
There have been several tackles to the problem: There have been several tackles to the problem:
- https://stackoverflow.com/questions/538865/how-do-you-archive-an-entire-website-for-offline-viewing#538878 - https://stackoverflow.com/questions/538865/how-do-you-archive-an-entire-website-for-offline-viewing#538878
- https://letswp.io/download-an-entire-website-wget-windows/ - [https://letswp.io/download-an-entire-website-wget-windows/](https://web.archive.org/web/20190915143432/https://letswp.io/download-an-entire-website-wget-windows/)
And ultimately after consulting these resources I've came to the following command: And ultimately after consulting these resources I've came to the following command:

View file

@ -93,7 +93,7 @@ Cluster Analysis: 2014 Edition (Statistical Associates Blue Book Series 24)
- Author: David Garson - Author: David Garson
- ISBN: 978-1-62638-030-1 - ISBN: 978-1-62638-030-1
- Cost: Free with Site Registration - Cost: Free with Site Registration
- Website: http://www.statisticalassociates.com/clusteranalysis.htm - Website: [http://www.statisticalassociates.com/clusteranalysis.htm](https://web.archive.org/web/20190217101921/http://www.statisticalassociates.com/clusteranalysis.htm)