Using diazo with Paste as a WSGI server and proxy, it seems that the rules and theme resources are being requested from the origin content server -- on every request -- regardless of the fact that read_network = false in the config.
With some request tracing/debugging it seems that lxml is performing the requests. I managed to get the expected behavior by setting the file protocol prefix on the rules target:
I don't know if this started because of a change in lxml or if I have always mistakenly left off the file:// prefix. So I am not sure if this is a bug in anything really. I suppose it is at least a bug in the documentation.
Using diazo with Paste as a WSGI server and proxy, it seems that the rules and theme resources are being requested from the origin content server -- on every request -- regardless of the fact that
read_network = false
in the config.With some request tracing/debugging it seems that lxml is performing the requests. I managed to get the expected behavior by setting the file protocol prefix on the rules target:
I don't know if this started because of a change in lxml or if I have always mistakenly left off the file:// prefix. So I am not sure if this is a bug in anything really. I suppose it is at least a bug in the documentation.
The above occured with the following versions: