Changes between Initial Version and Version 1 of Ticket #5617, comment 4
- Timestamp:
- Mar 8, 2021, 3:00:08 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5617, comment 4
initial v1 5 5 X-Sendfile sounds like a promising way to do it. Reading the NGINX doc, there is also support for it in lighthttpd and Apache [0], so it's good we're not prescribing too much here. 6 6 7 I'd just implement it as a completely separate feature orthogonal to private mode, though, and this should allow disabling it completely in dev .7 I'd just implement it as a completely separate feature orthogonal to private mode, though, and this should allow disabling it completely in dev: either send the file, or just add the X-Sendfile header if configured to do so. 8 8 9 9 The next bit of feature once that is implemented would be sharing specific content to unlogged users. I think X-Sendfile could be used in the same way, but we'd need to have some management of the shared URLs. At the moment, I just share the direct URLs to the files, but it's clearly a bug, not a feature (;