-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2.0
- Loading branch information
Showing
115 changed files
with
4,379 additions
and
3,963 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
Thumbs.db | ||
oauth/OAuth_id.php | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# compress with MOD_DEFLATE | ||
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml text/javascript application/x-javascript application/javascript application/x-httpd-php | ||
|
||
# proxies should not decompress for the user | ||
Header append Vary User-Agent env=!dont-vary | ||
|
||
<IfModule mod_headers.c> | ||
# Cache images and other static files for 1 month | ||
<FilesMatch ".(ico|jpe?g|png|gif|css|js|gz)$"> | ||
Header set Cache-Control "max-age=2592000" | ||
</FilesMatch> | ||
|
||
# Cache html and xml for 12 hours | ||
<filesMatch ".(html|htm|xml)$"> | ||
Header set Cache-Control "max-age=43200" | ||
</filesMatch> | ||
|
||
# do NOT cache php and cgi files | ||
<FilesMatch ".(php)$"> | ||
Header unset Cache-Control | ||
</FilesMatch> | ||
</IfModule> | ||
|
||
# BEGIN Expire headers | ||
<IfModule mod_expires.c> | ||
ExpiresActive On | ||
ExpiresDefault "access plus 7200 seconds" | ||
ExpiresByType image/jpg "access plus 2592000 seconds" | ||
ExpiresByType image/jpeg "access plus 2592000 seconds" | ||
ExpiresByType image/png "access plus 2592000 seconds" | ||
ExpiresByType image/gif "access plus 2592000 seconds" | ||
AddType image/x-icon .ico | ||
ExpiresByType image/ico "access plus 2592000 seconds" | ||
ExpiresByType image/icon "access plus 2592000 seconds" | ||
ExpiresByType image/x-icon "access plus 2592000 seconds" | ||
ExpiresByType text/css "access plus 2592000 seconds" | ||
ExpiresByType text/javascript "access plus 2592000 seconds" | ||
ExpiresByType text/html "access plus 7200 seconds" | ||
ExpiresByType application/xhtml+xml "access plus 7200 seconds" | ||
ExpiresByType application/javascript A259200 | ||
ExpiresByType application/x-javascript "access plus 2592000 seconds" | ||
</IfModule> | ||
# END Expire headers | ||
|
||
Header unset ETag | ||
FileETag none | ||
|
||
# protect the htaccess file | ||
<files .htaccess> | ||
order allow,deny | ||
deny from all | ||
</files> | ||
|
||
# forbid directory listing | ||
Options -Indexes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.