-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a setting via render_app.conf.dist to set static files from
webwork2_files to be cached by the browser, and to expire a set amount of time in the future. This should reduce server load regarding static files which are used by multiple problems, but still makes it reasonable to roll out updated files in a reasonable manner. At present, we only add the response header settings to support browser caching for files under webwork2_files. However, we set expired times for those whose URL contains a match to tmp/renderer as files which were generated for a specific problem may be dangerous to cache, in case they get updated in any manner on a subsequent call.
- Loading branch information
1 parent
a3f99bd
commit 21d0dab
Showing
2 changed files
with
32 additions
and
0 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
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