I want to configure nginx proxy as prefetching proxy - here is squid configuration for reference http://veloso.org/SquidConfig/SquidConfig.html
In squid example there is a bash script calling wget on web page URL via proxy so that all resources referenced by the web page will be cached. Once client receives the web page all resources referenced by the page are loaded into proxy cache.
According to my understanding of nginx modules architecture best solution would be filtering module, parsing the web page & issuing subrequest for each of the links found in the page.
I have not found such a filtering module for nginx.
If someone know nginx filter module that can implement prefetching proxy or some other way to implement prefetching proxy - I will be happy to know how it can be configured.
Thanks in advance