Skip to content

Commit

Permalink
[Config] Cache static resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Ritter authored Oct 10, 2019
1 parent 9a186ff commit cc94271
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,9 @@ class CeleryConfig(object):
SESSION_COOKIE_SECURE = False # Prevent cookie from being transmitted over non-tls?
SESSION_COOKIE_SAMESITE = "Lax" # One of [None, 'Lax', 'Strict']

# Flask configuration variables
SEND_FILE_MAX_AGE_DEFAULT = 60 * 60 * 24 * 365 # Cache static resources

# URI to database storing the example data, points to
# SQLALCHEMY_DATABASE_URI by default if set to `None`
SQLALCHEMY_EXAMPLES_URI = None
Expand Down

0 comments on commit cc94271

Please sign in to comment.