move images & scripts to new vdir

2007-08-12 @ 02:19#

i need to move the images and scripts that i keep on my own server (mostly scripts, images are on s3 right now) to a new virtual directory in IIS and use that to control the cache details. specifically, i need to tweak the max-age data to help reduce bandwidth and improve overall cache-friendliness.

wessel's book, Web Caching (see my earlier post) suggests up to one day for static docs and up to one week for images. this also assumes a pattern of renaming changes and updates instead of actually just updating the existing resources. i need to get my fingers around that pattern, but it's simple enough, really. since it's mostly a scripting issue, i just need to focus on that side of the equation for now. and work out a simple way to perform name-changes when i update resources. something like version data on the scripts.

you know, i could post the scripts to s3, too. then s3 can handle the details of managing the cache information. i wonder how that would work. might be a bit of a hassle to keep updating the buckets. than again...

site