Hi,
On 20 Okt., 16:38, cricket wrote:
> On Wed, Oct 20, 2010 at 6:43 AM, Emulator
>
> wrote:
> > Hi,
>
> > I wonder if cakePHP still isn't able to have multiple cache prefixes
> > for cached views.
> > I am currently evaluating different MVC frameworks for a larger web
> > project. One of the k
On Wed, Oct 20, 2010 at 6:43 AM, Emulator
wrote:
> Hi,
>
> I wonder if cakePHP still isn't able to have multiple cache prefixes
> for cached views.
> I am currently evaluating different MVC frameworks for a larger web
> project. One of the key requirements is to enable different views for
> differ
Hi,
I wonder if cakePHP still isn't able to have multiple cache prefixes
for cached views.
I am currently evaluating different MVC frameworks for a larger web
project. One of the key requirements is to enable different views for
different devices such as smartphones, TV, game consoles etc.
It is r
> > have been subsequently fixed.
>
> > I tried adding a prefix in /app/config/core.php. I changed it in
> > accordance with the documentation as follows:
> > Original:Cache::config('default', array('engine' => 'File', 'pat
x27;path' =>
> CACHE) );
> Change: Cache::config('default', array('engine' => 'File', 'path' =>
> CACHE, 'prefix' => 'uat_') );
>
> However, that has had no effect. A typical cache file looks like this:
> cake
ing a prefix in /app/config/core.php. I changed it in
accordance with the documentation as follows:
Original: Cache::config('default', array('engine' => 'File', 'path' =>
CACHE) );
Change: Cache::config('default', array('engine' =>
Hi, I am using recent Cake build (1.2.0.6311 beta), I am also working
on a Multi-language site, same like you, I prefix the locale in front
the controller, like
en-gb/controller/action
rus/controller/action
and I enable the cache, cache view generate in app\tmp\cache\views
have the
file name l
I'm setting it where I'm using it. Since it's based on the domain name
I can set it anywhere. I suppose if you store the user language in a
cookie you could also read it anywhere.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
So where are you setting $prefixxx? It must be resolvable by
dispatcher, so AppController would be out of the question.
On Tue, Apr 22, 2008 at 3:31 PM, Krommenaas <[EMAIL PROTECTED]> wrote:
>
> I managed to get prefixes before the filenames of my cached views,
> here is how in case someone els
I managed to get prefixes before the filenames of my cached views,
here is how in case someone else needs them. This is with the most
recent Cake build (1.2.0.6311 beta).
1) in \cake\libs\view\helpers\cache.php, in function
__writeFile($content, $timestamp):
replace
$cache = $cache . '.php';
Has anyone managed to get Cake to put a prefix before cached views? If
so, can you please post your core config and what you've had to do to
get it to work?
There are several threads here where people say they can't get it to
work, so I wonder if it's working for anyone at all. It's a crucial
fea
11 matches
Mail list logo