Disable caching for main html page.

This commit is contained in:
yackob03 2013-10-04 14:44:18 -04:00
parent 3eca5f65e1
commit 6ee9abc002

View file

@ -79,6 +79,7 @@ class DebugConfig(FlaskConfig, MailConfig, LocalStorage, SQLiteDB,
'level': logging.DEBUG,
'format': LOG_FORMAT
}
SEND_FILE_MAX_AGE_DEFAULT = 0
class LocalHostedConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL,
@ -88,6 +89,7 @@ class LocalHostedConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL,
'level': logging.DEBUG,
'format': LOG_FORMAT
}
SEND_FILE_MAX_AGE_DEFAULT = 0
class ProductionConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL,
@ -99,3 +101,4 @@ class ProductionConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL,
'format': LOG_FORMAT,
'filename': 'application.log',
}
SEND_FILE_MAX_AGE_DEFAULT = 0