serving cached files based upon cookie?
        Posted  
        
            by matthewsteiner
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by matthewsteiner
        
        
        
        Published on 2010-05-27T04:29:25Z
        Indexed on 
            2010/05/27
            4:31 UTC
        
        
        Read the original article
        Hit count: 200
        
So I realized something today. In my application, you really can't get anywhere (except the front page) unless you're logged in. And you can't be logged in without a cookie. So my front page could be cached, except the problem is if you are logged in (have a cookie set) then it should just redirect into the application.
Is there a way for nginx to look for a cookie and if it finds it then deliver a cached file?
Just an idea...
© Stack Overflow or respective owner