logo       

[SMARTY] rebuild_cache() - just a thought: msg#00450

php.smarty.general

Subject: [SMARTY] rebuild_cache() - just a thought

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>
Google Custom Search

News | FAQ | advertise