rebuild_cache() - just a thought
| From: | Hoffman, Geoffrey | Date: | Thu, 30 Jan 2003 20:49:15 +0000 |
| Subject: | rebuild_cache() - just a thought | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7426@lists.php.net to get a copy of this message | ||
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.