optimize images, set up image caching

This commit is contained in:
Mark Pilgrim
2009-06-10 01:22:48 -04:00
parent 6e28f7239c
commit 0444160ed1
3 changed files with 3 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
ExpiresActive On
ExpiresDefault "access plus 1 year"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+1 -1
View File
@@ -70,7 +70,7 @@ sed -i -e "s|href=index.html|href=/|g" build/*.html
# set file permissions (hg resets these, don't know why)
chmod 755 build/j build/i
chmod 644 build/*.html build/*.css build/examples/*.py build/examples/*.txt build/*.txt build/j/*.js build/j/.htaccess build/i/*
chmod 644 build/*.html build/*.css build/examples/*.py build/examples/*.txt build/*.txt build/j/*.js build/j/.htaccess build/i/* build/i/.htaccess
# ship it!
echo "publishing"