mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Cache pug templates and modules, by using production environment
This commit is contained in:
parent
91079f3af2
commit
ba17c1da14
2 changed files with 2 additions and 1 deletions
|
@ -425,7 +425,7 @@ module.exports = settings =
|
|||
redirects:
|
||||
"/templates/index": "/templates/"
|
||||
|
||||
reloadModuleViewsOnEachRequest: true
|
||||
reloadModuleViewsOnEachRequest: process.env['NODE_ENV'] != 'production'
|
||||
|
||||
domainLicences: [
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ services:
|
|||
LINKED_URL_PROXY: 'http://localhost:6543'
|
||||
ENABLED_LINKED_FILE_TYPES: 'url,project_file,project_output_file,mendeley'
|
||||
SHARELATEX_CONFIG: /app/test/acceptance/config/settings.test.coffee
|
||||
NODE_ENV: production
|
||||
depends_on:
|
||||
- redis
|
||||
- mongo
|
||||
|
|
Loading…
Reference in a new issue