<span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Hello all,<br><br>I&#39;m having trouble to have an SSI call beeing evaluated once cached in memecache.<br>For instance.<br><br>When I call the first time the page &#39;/test/&#39; which produce the following html:<br>
&#39;&lt;html&gt;&lt;!--# include virtual=&quot;/ssi/&quot; --&gt;&lt;/html&gt;&#39;<br><br>the &lt;!--# include virtual=&quot;/ssi/&quot; --&gt; block is replaced by the content of the &#39;/ssi/&#39; page.<br>So the final output is: &#39;&lt;html&gt;SSI&lt;/html&gt;&#39;<br>
<br>First call full debug log: <br><a href="http://friendpaste.com/71X0cQMkW4qiS5NCuaDnkv">http://friendpaste.com/71X0cQMkW4qiS5NCuaDnkv</a><br><br><br>But once &#39;/test/&#39; is cached by memcache (cache value is &#39;&lt;html&gt;&lt;!--# include virtual=&quot;/ssi/&quot; --&gt;&lt;/html&gt;&#39;)<br>
The ssi block is not evaluated end the final output is:<br>&#39;&lt;html&gt;&lt;!--# include virtual=&quot;/ssi/&quot; --&gt;&lt;/html&gt;&#39;<br><br>Second &#39;cached&#39; call debug log: <br><a href="http://friendpaste.com/455AEU8e1Aauv3mU6UQA9D">http://friendpaste.com/455AEU8e1Aauv3mU6UQA9D</a><br>
<br><br>nginx 0.8.34<br>-------------------------------------------<br>upstream gunicorn {<br>     server <a href="http://127.0.0.1:8080">127.0.0.1:8080</a>;<br>}<br><br>server {<br> listen    0.0.0.0;<br> server_name localhost;<br>
 root /var/www/localhost/htdocs;<br><br> location @python {<br>   ssi on;<br>   proxy_pass <a href="http://gunicorn/">http://gunicorn</a>;     <br>   proxy_set_header Host $host;<br> }<br><br><br> location /ssi {<br>   proxy_pass <a href="http://gunicorn/">http://gunicorn</a>;<br>
   proxy_set_header Host $host;<br> }<br><br> location / {<br>   ssi on;<br>   set $memcached_key $uri;#$urlmd5;<br>   default_type &quot;text/html; charset=utf-8&quot;;<br>   memcached_pass <a href="http://127.0.0.1:11211">127.0.0.1:11211</a>;<br>
   error_page 404 = @python;<br>   error_page 502 = @python;<br> }<br>}<br>-------------------------------------------<br><br>Thanks in advance,<br>Xav</span>