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
On Wed, Oct 20, 2010 at 6:43 AM, Emulator
thorsten.koer...@googlemail.com 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
Hi,
On 20 Okt., 16:38, cricket zijn.digi...@gmail.com wrote:
On Wed, Oct 20, 2010 at 6:43 AM, Emulator
thorsten.koer...@googlemail.com 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
/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' = 'File', 'path' =
CACHE, 'prefix' = 'uat_') );
However, that has had no effect
('engine' = 'File', 'path' =
CACHE, 'prefix' = 'uat_') );
However, that has had no effect. A typical cache file looks like this:
cake_core_default_eng (in /persistent).
I'm surprised by the cake_ prefix. Is that the default when no
prefix is defined?
Are there other files to modify? Is it possible
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' = 'File', 'path' =
CACHE, 'prefix' = 'uat_') );
However, that has had no effect
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
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
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 .
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 else
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
11 matches
Mail list logo