Matt Kane
Matt Kane
Hi @janakitti The problem here is that currently on Netlify, middleware is run *after* redirect shadowing, i.e. it looks for static files first. This will be something that we'll fix,...
Hi @janakitti Can you confirm whether this issue is still present in the latest beta?
@nathancahill Posting this here, as you don't have issues enabled on your repo: preact-render-to-json doesn't work with hooks, because of developit/preact#1373
Some notes from our discussion: - we could set headers config to add basic auth to the db file too - we could pre-warm the lambda in an `onSuccess` call,...
Hey! The build logs should include details of what are the largest files in the zip. Can you share the logs?
Thanks, @fool. The file mentioned in the ticket (`data.mdb`) is the Gatsby data layer database. @scottgimblettnz This is created by Gatsby during the build process, and is required. That is...
OK, I've realised I have access to your logs so am able to diagnose some of it. You appear to have several 150MB(!) json files in there, which are static...
@trevorblades Not the whole `.cache` directory, but the `page-ssr` directory is, because it may be needed for SSR
It worth investigating why this happens. The only reason they should be being moved into there is because if there's some kind of dependency that webpack has found. It might...
Can you try doing `netlify deploy --build` rather than seperate steps?