Welcome! Log In Create A New Profile

Advanced

Re: Any method for NGINX (as a web-server) to skip metadata and serve content from cached file?

Reinis Rozitis
September 29, 2017 09:18AM
> While caching files on disk, NGINX-proxy adds certain metadata at the the
> beginning of the file.
>
> Can such files be served by NGINX (acting a server)? Is there a method to
> skip the metadata part and just serve the content from such a cached
> file.?


Well you can use proxy_store (
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_store / there
is also a configuration snippet ) with that nginx will save all the upstream
files as-is without any additional metadata.

The drawback is you have to manage the "cache" yourself (expiration /
purging) as nginx won't do anything with the stored files.

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Any method for NGINX (as a web-server) to skip metadata and serve content from cached file?

rnmx18 September 29, 2017 05:58AM

Re: Any method for NGINX (as a web-server) to skip metadata and serve content from cached file?

Reinis Rozitis September 29, 2017 09:18AM

Re: Any method for NGINX (as a web-server) to skip metadata and serve content from cached file?

rnmx18 September 29, 2017 12:33PM

Re: Any method for NGINX (as a web-server) to skip metadata and serve content from cached file?

Lucas Rolff September 29, 2017 12:40PM

Re: Any method for NGINX (as a web-server) to skip metadata and serve content from cached file?

rnmx18 September 29, 2017 03:30PM

Re: Any method for NGINX (as a web-server) to skip metadata and serve content from cached file?

Lucas Rolff September 29, 2017 03:56PM

Re: Any method for NGINX (as a web-server) to skip metadata and serve content from cached file?

rnmx18 September 29, 2017 04:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready