Improve i18n caching (#12030)

* fix indentation

* wip: cache i18n responses

* cache i18n browser script to disk

* typos

* misc fixes
This commit is contained in:
Matteo Pagliazzi
2020-05-05 20:31:33 +02:00
committed by GitHub
parent 446122d7b8
commit e5f1f3b279
6 changed files with 69 additions and 29 deletions

View File

@@ -11,10 +11,16 @@ gulp.task('build:babel:common', () => gulp.src('website/common/script/**/*.js')
gulp.task('build:babel', gulp.parallel('build:babel:server', 'build:babel:common', done => done()));
gulp.task('build:cache', gulp.parallel(
'cache:content',
'cache:i18n',
done => done(),
));
gulp.task('build:prod', gulp.series(
'build:babel',
'apidoc',
'content:cache',
'build:cache',
done => done(),
));