fastify-static icon indicating copy to clipboard operation
fastify-static copied to clipboard

Server Side Caching

Open usopan opened this issue 8 years ago • 4 comments

Hi, Is there any way to configure a server side caching of static assets? Using something like fastify-caching. PS: I have deployed fastify using docker containers so I cannot rely on iobuffer performance as it is being shared by multiple apps.

usopan avatar Apr 24 '18 13:04 usopan

This would be a very interesting feature, but it's currently not supported. The tricky part is that this logic should go into http://npm.im/send instead, as it's there that the caching headers are computed.

mcollina avatar Apr 24 '18 22:04 mcollina

@usopan I guess it is better to use reverse proxy or varnish.

aalfiann avatar Jan 11 '20 03:01 aalfiann

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 21 '20 07:10 stale[bot]

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Oct 01 '26 03:10 github-actions[bot]