|
[SMARTY] rebuild_cache() - just a thought: msg#00450php.smarty.general
I'm wondering how tough it would be to add a rebuild_cache('template.tpl', $cache_id, $compile_id) so i can call that right after I call clear_cache() in my CMS. Or, so it internally would call clear_cache() and then _write_cache_file ... Not 100% sure yet, but I bet my host won't install wget for me, and I'm pretty sure they have allow_url_fopen turned off. Regards- Geoff Monte Ohrt said, a few days back, in message with subject: Deleting a specific cache id from a different smarty instance MO> We also use wget immediately after to refresh the cache for the MO> front page and links on the front page (most often hit pages.) This way MO> the next user will most likely get a cached page. -- 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] PHPDoc and Smarty: 00450, Greg Beaver |
|---|---|
| Next by Date: | Re: [SMARTY] rebuild_cache() - just a thought: 00450, Ferdinand Beyer |
| Previous by Thread: | [SMARTY] Re: block.sendmail.phpi: 00450, Rasmus Schultz |
| Next by Thread: | Re: [SMARTY] rebuild_cache() - just a thought: 00450, Ferdinand Beyer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |