HTML5 introduces the ability to cache content client-side so that often-used resources can be used without re-downloading them. This also enables a site to be viewed from the client when no network connection is available (i.e., offline viewing of the site).
In order for this to work, there are a few things one must do:
- Create a plain text file listing all of the resources that should be cached by the user agent (e.g., a web browser)– the cache manifest.
- Refer to that file in the opening html tag of every page that will use cached resources.
- Configure the web server so that the file is sent to the user agent with a specific MIME type: text/cache-manifest
- Regenerate the cache manifest any time you change the files in your site.
Once everything is setup properly, you can visit the site using your favorite web browser. Then, to test whether the caching has worked, you can turn off the network connection to your web browser’s computer and try reloading the page.
Continue reading Automatically Generating an HTML5-style Cache Manifest from the Command Line
Digital voice recorders can be a handy tool for dictation or recording research interviews. Here are some of the things I consider when looking for a recorder.
||Make sure the recorder you choose has a USB port or (even better) a built-in plug. Some recorders do not allow you to transfer your recordings to your computer.
||The default recording file format should be something that is easily playable on your computer’s already installed software, such as Quicktime, iTunes, or Windows Media Player. WAV and MP3 work well, but many recorders use WMA, a windows format that requires additional software on the Mac to playback.
||You generally want dual (or quad) built-in MICs for stereo recording— invaluable in interview sessions. You can play your recordings with headphones and perceive directionality. Not all recorders record in stereo. Also, an external MIC jack, in case you ever want to use an external microphone (a lapel clipped mic or shotgun mic, e.g.)
||A tripod mount screw is handy for setting up your recorder for standalone operation.
Two models I’m fond of:
Form follows function— that has been misunderstood. Form and function should be one, joined in a spiritual union
~Frank Lloyd Wright
True also of theory and practice in education, research, and programming.