|
Re: [SMARTY] rebuild_cache() - just a thought: msg#00454php.smarty.general
Hoffman, Geoffrey wrote: I'm wondering how tough it would be to add a Hi, Just to begin, I changed my email address. I used to be paul@xxxxxxxxxxxx The problem with this, and I don't know if you have the same problem, is that I have tons of pages that need to be generated and cached, usually in a format like "pg_article_<id>" Unless you also specified in Smarty a list of all your templates, rebuilding the cache would be next to impossible, especially when you added another article, for instance. Of course, like Ferdinand said, if there is a specific page you want to always have cached, and the other caches can be generated on the fly, you could always call fetch() immediately after calling clear_cache(). Hope that clears it up. ~Paul -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [SMARTY] Truncate: 00454, Darryl Bleau |
|---|---|
| Next by Date: | Re: [SMARTY] Avoid unnecessary whitespace in compiled templates?: 00454, Lars Noschinski |
| Previous by Thread: | Re: [SMARTY] rebuild_cache() - just a thoughti: 00454, Ferdinand Beyer |
| Next by Thread: | [SMARTY] Truncate: 00454, Darryl Bleau |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |