Liquid syntax error: 'raw' tag was never closed
How I fixed 20 seconds of lag for every user in just 20 minutes.
Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
Hi @fredabod , nice introduction to this topic.
Pointing out improvement points:
Assuming that the headers look like that:
I'd change
for
just to avoid runtime errors if something went wrong (e.g. Authorization being undefined) as well as for maintainability as you can know what it does by just reading at this while in the array hardcoded position implementation you can be wondering "what the heck does Authorization have?".
Also take a look at CORS and specially to the DB Salt concept so you get better security on this.
Hope it helps somehow, best regards π
This was really helpful. Thank you @joelbonetr