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
//Based on http://jsfiddle.net/dFNva/1/ | |
var events = [ | |
{ | |
event_name: "Recurring", | |
start_date_time: new Date('Fri May 17 2013 01:00:00 GMT-0400 (EDT)'), | |
rating: '4.1' | |
}, { | |
event_name: "Morning Dive", | |
start_date_time: new Date('Tue May 14 2013 02:00:00 GMT-0400 (EDT)'), |
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
# implement minimal caching during site development | |
<FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|js|css|pdf|swf|html|htm|txt)$"> | |
Header set Cache-Control "max-age=5" | |
</FilesMatch> | |
# explicitly disable caching for scripts and other dynamic files | |
<FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$"> | |
Header unset Cache-Control | |
</FilesMatch> |
NewerOlder