1
HFS ~ HTTP File Server / Re: Controlling the Cache-Control header
« on: August 26, 2017, 07:03:34 PM »Quote
And those of that half who know him refuse to use it to differentiate themselves from their compatriots of the southSomething like that
Quote
{.add header|Cache-Control: must-revalidate, max-age=-1, public.}This doesn't work either.
I have written my own PHP file to list files recursively. It performs the same task in about ~50ms instead of 800+ ms. The PHP file is hosted by the built in PHP server and acts as a proxy to HFS (the files themselves are still hosted on HFS).
I'm giving up on setting Cache-Control, since I have created a workable solution.