Good point. I've been looking over the API and docs and I couldn't find a
way to add a prefix or include the additional info into the key generation,
but it shouldn't be too tough to extend the frontend and overload the
_makeId() and _makePartialId() methods.

--
Hector


2010/1/5 Paweł Chuchmała <[email protected]>

> I understan than I must use something to change cache id. In my case
> it may by $_SERVER['name'] (it doesen't matter), but in Page frontend
> Id is calculated automaticaly.
> The only way is subclassing or decorate this class?
>
> 2010/1/5 Hector Virgen <[email protected]>:
> > You'll need to prefix your cache IDs based on the application. I'd place
> the
> > prefix in application.ini in order to make it accessible and configurable
> > between applications.
> > --
> > Hector
> >
> >
> > 2010/1/5 Paweł Chuchmała <[email protected]>
> >>
> >> Hi.
> >>
> >> Scenario: two (or more) version of application on one machine:
> >> http://app1.example.com/
> >> http://app2.example.com/
> >>
> >> Using Zend_Cache with frontend Page and Backend Apc cause problem
> >> becouse Apc is shared space,
> >> and cache id is the same for all application.
> >>
> >> Is there some clever method to solve this?
> >>
> >> regards,
> >>
> >> --
> >> Paweł Chuchmała
> >> pawel.chuchmala at gmail dot com
> >
> >
>
>
>
> --
> Paweł Chuchmała
> pawel.chuchmala at gmail dot com
>

Reply via email to