There are times when having the proxy mounted in the layout causes the layout to receive an excessive amount of traffic and a better solution would be to have a stand alone proxy. The problem with doing so is that all podlet client side code would then need to hard code the proxy URL. Ideally, the podlet should be able to dynamically create client side proxy urls using the context as usual and the layout should be able to determine the location of the proxy. This feature proposes exactly that in the following way:
make it possible to provide external proxy configuration
providing proxy configuration should provide correct values to podlets via context
if all podlets are configured to use external proxies, switch off layout proxy as not needed
if a new podlet comes online and its manifest requires a proxy, switch layout proxy back on (if off) and use layouts proxy
There are times when having the proxy mounted in the layout causes the layout to receive an excessive amount of traffic and a better solution would be to have a stand alone proxy. The problem with doing so is that all podlet client side code would then need to hard code the proxy URL. Ideally, the podlet should be able to dynamically create client side proxy urls using the context as usual and the layout should be able to determine the location of the proxy. This feature proposes exactly that in the following way:
Example syntax