Last active
November 28, 2024 12:58
-
-
Save OleMchls/8852668 to your computer and use it in GitHub Desktop.
My SOA talk ESI example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php header('Surrogate-Control: "ESI/1.0"'); ?> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>My super simple ESI example</title> | |
| </head> | |
| <body> | |
| <p>Hello world! This is my super simple ESI example.</p> | |
| <aside><esi:include src="my-other-service.example.com/sidebar.html" /></aside> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment