You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@reidab I think that's the exact issue I was having here: #89. I hacked around it by modifying fasboot-app-server to use res.write and res.end instead of res.send.
When a cache (like https://github.com/tomdale/fastboot-redis-cache) is provided, the Express server builds middleware to read/write cache entries.
To grab responses, it replaces the implementation of
res.send
with one that stores to the cache here.When chunked responses are enabled
res.write
is called instead ofres.send
, so nothing is ever written to the cache.Using something like https://github.com/axiomzen/express-interceptor (or implementing similar techniques) would solve this issue.
The text was updated successfully, but these errors were encountered: