Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Initial commit of .htaccess

Ryan Bollerd98786c8b407
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 000000000..c157118b7
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,18 @@
+# Requires mod_expires to be enabled.
+<IfModule mod_expires.c>
+ # Enable expirations.
+ ExpiresActive On
+
+ #Dont cache html files or php
+ <FilesMatch \.(html|php)$>
+ ExpiresDefault A0
+ </FilesMatch>
+ #cache for one hour
+ <FilesMatch \.(css|javascript|jsp)$>
+ ExpiresDefault A3600
+ </FilesMatch>
+ #cache for one day
+ <FilesMatch \.(jpg|png|gif|jpeg|icon|wav|mpeg|mp4|fla)$>
+ ExpiresDefault A86400
+ </FilesMatch>
+</IfModule>
\ No newline at end of file