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
I have searched existing issues to ensure the bug has not already been reported
Fastify version
4.15.0
Plugin version
4.2.0
Node.js version
16.5.1
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
12.6.5
Description
When I have a nginx layer in front of my fastify server, the 304 response is not getting served.
For same data, etag everything works in the local.
I have tried switching off etag generation in nginx layer also.
We gzip the data in nginx, but I am not sure how the 304 might get skipped.
Steps to Reproduce
create a dummy server with nginx and try passing the if-none-match value same as the etag.
Expected Behavior
expect 304 but get 200
The text was updated successfully, but these errors were encountered:
Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that. In this case, I recommend also adding a docker-compose file.
Prerequisites
Fastify version
4.15.0
Plugin version
4.2.0
Node.js version
16.5.1
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
12.6.5
Description
When I have a nginx layer in front of my fastify server, the 304 response is not getting served.
For same data, etag everything works in the local.
I have tried switching off etag generation in nginx layer also.
We gzip the data in nginx, but I am not sure how the 304 might get skipped.
Steps to Reproduce
create a dummy server with nginx and try passing the if-none-match value same as the etag.
Expected Behavior
expect 304 but get 200
The text was updated successfully, but these errors were encountered: