PrivateBin / docker-nginx-fpm-alpine

PrivateBin docker image based on Nginx, php-fpm & Alpine Linux stack
https://hub.docker.com/r/privatebin/nginx-fpm-alpine/
147 stars 57 forks source link

ZAP Full Scan Report #173

Closed github-actions[bot] closed 2 months ago

github-actions[bot] commented 8 months ago

View the following link to download the report. RunnerID:6715206329

rugk commented 8 months ago

Storable and Cacheable Content

Do we miss some caching headers for these @elrido?

elrido commented 8 months ago

To me these reports are confusing: The JS and CSS are reported because they are cachable, while the dynamic content is because it's not. There should not be any special headers necessary for browsers to cache static content. For the dynamic content we do emit a limited lifetime for caching as a header.

rugk commented 8 months ago

Maybe it is because that caching then is only a heuristic and not reliable? Did not find a guideline right now, but maybe one should better explicitly specify how long it should cache stuff like this?