hmmm... Never used phptal:cache that much... But I have an idea.
What about something like:
definer tal:omit-tag= tal:define=cachekey string:${mylang}::${myurl}
mycacheditem phptal:cache=1d per cachekey/
/definer
2009/9/23 Andrew d...@land.ru
All works fine, but i got stuck on problem with per
On 23-09-2009 at 08:17:33 Marco Pivetta ocram...@gmail.com wrote:
hmmm... Never used phptal:cache that much... But I have an idea.
What about something like:
definer tal:omit-tag= tal:define=cachekey
string:${mylang}::${myurl}
BTW: you can use tal:block instead of tal:omit-tag=.
If you place the ';' you won't need to place more than one 'per' :)
The idea is good ;)
It should be as easy as making a str_concat behind the scene :-)
2009/9/23 Kornel Lesiński kor...@aardvarkmedia.co.uk
On 23-09-2009 at 08:17:33 Marco Pivetta ocram...@gmail.com wrote:
hmmm... Never used
Thank you very much :)
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal