mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
optimize images, set up image caching
This commit is contained in:
@@ -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 |
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user