overleaf/services/clsi/test/unit/js
Jakob Ackermann b456ea726d [misc] merge pdf caching into main (#226)
* wip generate directory for hash content

* cleanup, remove console logging

* add content caching module

* Return PDF stream ranges with compile response

* Return the PDF file size in the compile response

* PDF range endpoint

* [misc] WIP: pdf caching: preserve the m-time on static content files

* [misc] WIP: pdf caching: improve browser caching, emit caching headers

* [misc] WIP: pdf caching: do not emit very small chunks <1kB

* [misc] keep up with moving output files into a separate directory

* [OutputCacheManager] add global feature flag for enabling pdf caching

* [misc] add contentId into the URL for protecting PDF stream contents

* [misc] support PDF stream caching for anonymous users

* [misc] add per-request feature flag for enabling PDF stream caching

* [misc] enable pdf caching in CI and emit metrics at the end of run

* [misc] expose compile stats and timings to the frontend

* [misc] log an error in case saving output files fails

* [misc] add metrics for pdf bandwidth and pdf caching performance

* [misc] add a dark mode to the pdf caching for computing ranges only

* [misc] move pdf caching metrics into ContentCacheMetrics

* [misc] add a config option for the min chunk size of pdf ranges

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
2021-05-13 14:07:54 +01:00
..
CompileControllerTests.js [misc] merge pdf caching into main (#226) 2021-05-13 14:07:54 +01:00
CompileManagerTests.js [misc] merge pdf caching into main (#226) 2021-05-13 14:07:54 +01:00
ContentTypeMapperTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
DockerLockManagerTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
DockerRunnerTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
DraftModeManagerTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
LatexRunnerTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
LockManagerTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
OutputFileFinderTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
OutputFileOptimiserTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
ProjectPersistenceManagerTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
RequestParserTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
ResourceStateManagerTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
ResourceWriterTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
StaticServerForbidSymlinksTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
TikzManager.js Add a global test setup file 2021-03-12 16:27:33 -05:00
UrlCacheTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00
UrlFetcherTests.js Add a global test setup file 2021-03-12 16:27:33 -05:00