Welcome! Log In Create A New Profile

Advanced

Will nginx cache the ssi template

Posted by billd 
Will nginx cache the ssi template
September 05, 2010 01:32PM
I am using nginx with ssi. I would like to get nginx to cache the ssi template returned by my server (rails in this case). I have nginx caching turned on, and everything is cached except the ssi template. nginx always retrieves it from the server, regardless of how I set the cache-control headers.

I realize that the ssi template should be in a static directory, but I would still like rails to generate it for me, and then get nginx to cache it.

Is there a way to do this?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 274
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready