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"/>

2009/9/23 Andrew <>

> 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

Marco Pivetta - Ocramius Aethril
Standard Ogame Project - StOgame
Making Ogame a better place...
Sent from Carbonera, TV, Italy
PHPTAL mailing list

Reply via email to