-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Returning 304 #19
Comments
probably this has nothing to do with rendora, it just saves the status code it gets from the backend and inject it back to the whitelisted clients (e.g. crawlers). what status code number do you see returned from the API? if it's 304 this proves my point. Your backend is the one that returns 304 and rendora just returns it back as it is back to the client |
@gophobic Thank u for ur answer. I may have expressed myself wrong. The problem is not the status itself, but the fact that the response is empty, but when I call the Rendora API the response is complete. EDIT: I don't know if that can help with something, but Chrome Headless returns this error: Failed to connect to socket /var/run/dbus/system_bus_socket: no such file or directory EDIT2: Everytime it works on a first try then starts to fail |
@ReeSilva, until #21 is merged, consider patching the chrome Docker image to not cache (last 3 options):
|
Some of your bots are not lower case:
|
Hey guys, I'm looking for u to see if anyone can help, because I tried a lot and nothing seems to work. I have the follow stack:
An AWS ECS Fargate Service exposing the Rendora (with cache disabled for test), in front of this a Load Balancer and in front of this Load Balancer I have Cloudfront also with cache disabled for test. This is my actual Rendora config:
When I call the Rendora API
/render
it works like a charm, when I reach my page through a browser, it works also. But, when I try to curl using one of my defined bots, it returns 304 everytime. I noticed that in browser the initial call also returns 304, but render oks, and on the API of Rendora it also renders even returning 304.Is there anything that am I doing wrong?
Thank u in advance.
The text was updated successfully, but these errors were encountered: