Passenger, Apache and avoiding page caching

Posted by Michael Guterl on Stack Overflow See other posts from Stack Overflow or by Michael Guterl
Published on 2010-03-22T22:14:11Z Indexed on 2010/04/04 11:53 UTC
Read the original article Hit count: 294

Filed under:
|
|

I'm hosting a rack application with passenger and apache. The application is setup to cache the content of each request to the public directory after each request. This allows apache to serve the content directly as a static page for future requests.

I would like to tell Apache, presumably through some rewrite rules that any requests with query parameters should not be cached, but instead passed down to the rack application. With a mongrel setup I would just redirect it to the balancer if it meets my rewrite conditions. How do you do the same with passenger?

© Stack Overflow or respective owner

Related posts about passenger

Related posts about apache