Hey there, guys!
I am struggling, trying to get caching right on my server. I currently use the „st“ module for serving static files to my client. But now I want to add the correct headers to it. The thing is, that when using ETag headers, the client always does a verification request… and that sucks. I want to do as few requests as possible.
Can anyone recommend a good aproach for doing proper caching? I plan on setting up a varnish cache in the long run, but i want to only use NodeJS for now.
Kind regards, Ingwie