I’ve been reading the Rails Guide about caching and I have a few
questions about it.
I’ve read that it is not possible to cache a page with url parameters,
for instance ‘http://…/com/products/category_id=5’. Am I correct?
Isn’t there any way to be able to do so?
If caching is only able on ‘conditions’ when do you use caching?
I’ve been reading the Rails Guide about caching and I have a few
questions about it.
I’ve read that it is not possible to cache a page with url parameters,
for instance ‘http://…/com/products/category_id=5’. Am I correct?
Isn’t there any way to be able to do so?
You can do it, but it depends on how you format your URLs because it
makes a
static HTML file for Apache to serve (and Apache won’t serve files with
GET
parameters in the name). For example, if your URL is:
You can do it, but it depends on how you format your URLs because it
makes a
static HTML file for Apache to serve (and Apache won’t serve files with
GET
parameters in the name). For example, if your URL is: