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" parameter.
>
> I want to cache page for separate URL and Language.
>
> Current language is specified in "language" var, not in url, so when i try
> to
> do something like phptal:cache="1d per url per language" i get an error.
>
> Is there a way?
>
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>



-- 
Marco Pivetta - Ocramius Aethril
Standard Ogame Project - StOgame
http://www.stogame.net
Making Ogame a better place...
Sent from Carbonera, TV, Italy
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to