Passenger, Apache and avoiding page caching
Posted
by user38382
on Server Fault
See other posts from Server Fault
or by user38382
Published on 2010-03-22T01:11:42Z
Indexed on
2010/03/22
1:21 UTC
Read the original article
Hit count: 297
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?
© Server Fault or respective owner