0

例:

akamai cdn を介してレンダリングされた html ページの esi:assign および esi:include に関する問題

http://www.trial.com/abc/def/ghjiy (Akamai rendering src) has content "abc"

In an html page
<esi:include src="http://www.trial.com/abc/def/ghjiy"></esi:include> will return "abc"
can I assign this to a variable so we can use it multiple times in the html  page using 
<esi:vars>$(val)</esi:vars>

I have tried something like this 
<esi:text><esi:assign name="val">'</esi:text><esi:include 
src="http://www.trial.com/abc/def/ghjiy"></esi:include><esi:text>'</esi:assign></esi:text>"

But after html page being rendered the <esi:assign> tags has not been parsed and returned 
the following in page source
<esi:assign name="val">abc</esi:assign>
4

1 に答える 1