Hi,
I'm trying to implement a location that can check if a resource is already on cache, and if so call proxy_pass, but if not return a message (something like "Not ready yet") and then call proxy_pass as background "detached" request.
This proxy_pass runs a long process, and I'd like not to make the user wait for it. Once the process is ready, it should be put on cache, so next time someone request this resource it is fetched from cache.
Is this possible?
Thanks in advance