You are here: Re: [SMARTY] Problem clearing cache groups « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] Problem clearing cache groups

Posted by Ivo Jansch on 09/13/05 12:56

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

messju mohr wrote:

>> cache_groups only work, if you leave out the template parameter of clear_cache().

Isn't that a bug then?

I thought cache_id's were meant to be able to have multiple cached
versions of a single template. So a 1->N relation between template and
cache_id.

If what you say is true, then 2 different templates, each using the same
set of cachegroups (tpl a, group nl, group en; tpl b, group nl, group
en) would not work?

This would mean I would have to add the template name to the cache
group, or developers could by accident use the same id's and clear
eachothers templates.

Greetings,
Ivo

- --
Ivo Jansch <ivo@ibuildings.nl>
ibuildings.nl BV - information technology
http://www.ibuildings.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJqJR95NUnGFZm9cRAn87AJ9OIheWocnk1MHvypv1y2KHrT255gCeI/N5
OXniUH5+VJIQFmkVooY5e9g=
=tUYW
-----END PGP SIGNATURE-----

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация