mirror of
https://github.com/penpot/penpot.git
synced 2025-03-14 16:51:18 -05:00
Previously, all responses from GET and POST requests are serialized to a byte array (using transit) which is returned as response body. With this commit, the response body of POST requests is written directly to the response output-stream, reducing the memmory need to perform that operation. The responses for GET request still uses the old mechanism because we need the whole response as byte array for calculate the ETAG and check it before returning the body. |
||
---|---|---|
.. | ||
dev | ||
resources | ||
scripts | ||
src | ||
test/app | ||
deps.edn | ||
package.json | ||
tests.edn | ||
yarn.lock |