And so on.
What should I place in the location directive to cache only those URLs?
I can’t figure it out on the nginx wiki.
Also, I would like to replace the Cache Control and Pragma headers set
by my PHP application, can I use add_headers directive? Or I would have
to add a 3rd party module, like more_http_headers? I use nginx from
PPA(Ubuntu), so for adding more_http_headers I would have to build it
And so on.
What should I place in the location directive to cache only those URLs?
I can’t figure it out on the nginx wiki.
Also, I would like to replace the Cache Control and Pragma headers set by my PHP
application, can I use add_headers directive? Or I would have to add a 3rd party
module, like more_http_headers? I use nginx from PPA(Ubuntu), so for adding
more_http_headers I would have to build it
There’s good reason people build urls like http://domain.com/detail/2Zimg instead of what you’re using (namely,
it’s difficult to configure its caching).
As per the headers I don’t quite understand what you want to do. Do you
want the FastCGI cache to ignore the Cache-Control headers set by the
application?
----appa
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.