Caching Problem

Hello,

I’m running rails 2.0.2 and mongrel 1.1.3, trying to get caching
working with multiple parameters. I found sites that pointed out you
need to make sure the parameters are part of the URL, so I have built
routes to achieve this.

Cached fragment: localhost:3000/reports/meetings_monthly/2 (0.00141)
Completed in 0.16703 (5 reqs/sec) | Rendering: 0.05980 (35%) | DB:
0.01709 (10%) | 200 OK [http://localhost/reports/meetings_monthly/
2/2008-03-17]

So, why is it that the URL includes the date, which is correct, but
the cache does not? When I change the date, I get the same cached
page.

Any help would be appreciated, I don’t know where to begin and as far
as I can tell I’m doing this correctly. In the reports controller, I
have:

caches_action :meetings_monthly, :quarterly_time_by_person, :tracker,
:presales,
:accounting_new, :accounting_stalled,
:accounting_hibernating, :accounting_forecast,
:accounting_billed, :accounting_future

Thanks,
-Jason

The problem ended up being the order of routes in routes.rb.