Skip to content

Instantly share code, notes, and snippets.

@naholyr
Created March 29, 2011 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naholyr/893150 to your computer and use it in GitHub Desktop.
Save naholyr/893150 to your computer and use it in GitHub Desktop.
index.html
backend default {
.host = "test-esi.localhost";
.port = "8000";
}
sub vcl_fetch {
esi;
}
<!-- http://test-esi.localhost:8000/index.html -->
<html>
<head><title>Test ESI</title></head>
<body>
<esi:include src="partial.html" />
</body>
</html>
<!-- http://test-esi.localhost:8000/index.html -->
hello, world
@naholyr
Copy link
Author

naholyr commented Mar 29, 2011

Result on http://127.0.0.1:6081 = <esi:include /> not interpreted :'(((

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment