Get Smarty

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Check reviews of PHP Web Hosting, compatible with Smarty Templates

$cache_lifetime

Ini adalah lama waktu dalam detik berlakunya cache template. Sekali ini berakhir, cache akan dibuat ulang.

  • $caching harus dihidupkan (baik 1 atau 2) agar $cache_lifetime berfungsi dengan benar.

  • Nilai -1 akan memaksa cache agar tidak pernah berakhir.

  • Nilai 0 akan menyebabkan cache selalu dibuat ulang (hanya baik untuk pengujian saja, untuk mematikan cache lebih efisien ialah menyetel set $caching = 0).

  • Jika anda ingin memberikan template tertentu memiliki usia cache sendiri, anda dapat melakukan ini dengan menyetel $caching = 2, kemudian setel $cache_lifetime ke nilai unik sebelum memanggil display() atau fetch().

Jika $force_compile dihidupkan, file cache akan dibuat ulang setiap waktu, secara efektif mematikan cache. Anda bisa membersihkan seluruh file cache dengan fungsi clear_all_cache(), atau file cache individual (atau grup) dengan fungsi clear_cache().

Comments
No comments for this page.
Post a Comment
All comments are moderated. Support questions are ignored, use the forums instead.
Author:
Email: (not shown)
What is 15 plus 4? (Are you human?)

Sponsors [info]

Cheap Website Hosting @hostdone.com
email marketing @ActiveCampaign
broadband deals @BroadbandGenie
Best UK Web Hosting @webhost.uk.net
Reliable UK and US Web Hosting @rshosting.com
Cheap US and UK Web Hosting @infrenion.com
I.T Certification Exams @pass-guaranteed.com
Certification Practice Tests @firsttrycertify.com
Certification Practice Exam Questions @ace-it-certifications.com
Broadband Speed Test @broadbandspeed.co.uk
bulk email software @americaint.com
ASP.NET hosting @aspnethosting.co.uk