I’m using cgilua on a nginx server and my problem is when I put some lua code in my pages, the content seems to be cached.
For example
<!-- index.lp -->
<%= math.random(100000) %>
Displays the same value many times if I refresh the page, this does not happen with a PHP page. My problem is very embarassing when using POST data because the page is loaded randomly in its cache.
Is there specific HTTP headers to set? Why is it working with php?
Thanks.
In cgilua.fcgi, there was this line:
I set it to true and my problem seems to not appear again.