yanick/Dancer-Plugin-Cache-CHI — Issue #2: Caching of multi-hosted Dancer applications?
Author: Perlover
Created: 2011-10-10 15:38:08+00:00
State: open

Good day!

I didn't use your module yet but i will want :)
But i see by your source that you use a path_info as key for caching
If i will use multi-hosted applications (for example by method described in perldoc Dancer::Deployment -> "Running multiple apps with Plack::Builder"...) i think i will have a cache collisions (different hosts will get a hit cache of other host).
Am i right?
If yes may be for cache to use md5_hex of host + path_info methods?
I think it will be a better way for caching...

I can make a patch for this through github

Best regards, Perlover