In other words, is it possible to include in a page the content of a response from an external HTTP service?
Hi @aodh, welcome to the Caddy community!
Caddy can either proxy (get the entire page content from somewhere else) or it can serve a static file (perhaps using templates to fill in some information), but I don’t believe there’s a way to have Caddy itself fetch dynamic content from elsewhere to insert into a static page.
This is easily doable in Caddy 2, FWIW. Would you like to give it a try? You can use templates for this, since Caddy 2 templates can make HTTP sub-requests.
@matt Thanks! How do I get started? It looks like Caddy 2 is still in development?
@matt Yes, I am sure. The crawlers I’m referring to are Twitter & Facebook’s…
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.