Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 10 matches
Smarty Forum Index
Author Message
  Topic: Cache Speed question
niekas

Replies: 7
Views: 6452

PostForum: General   Posted: Sat Mar 12, 2005 4:19 am   Subject: Cache Speed question
Thanks boots - adding this line to htaccess:

PHP_FLAG output_buffering on

did the trick.

echoing 100Kb string (no splitting) takes 0.0004 s instead of 0.6s

that is more than 1000x faster. ...
  Topic: Cache Speed question
niekas

Replies: 7
Views: 6452

PostForum: General   Posted: Sat Mar 12, 2005 3:30 am   Subject: Cache Speed question
Thanks boots for quick answer:

I'm not alone with this:
http://wonko.com/content.php?id=299

Although his solution on splitting string into chunks doesn't seem to help that much (i didn't try re ...
  Topic: Cache Speed question
niekas

Replies: 7
Views: 6452

PostForum: General   Posted: Sat Mar 12, 2005 2:37 am   Subject: Cache Speed question
Thanks boots for your reply. Yes i'm using is_cached. I tried using timer with fetch-> method from that thread you provided. My cached html page is ~10kb so its not conclusive.

Loading this cac ...
  Topic: Cache Speed question
niekas

Replies: 7
Views: 6452

PostForum: General   Posted: Fri Mar 11, 2005 12:24 am   Subject: Cache Speed question
My smarty page loads rather slow - compiled/cached; 1 dynamic poll


on debug console it indicates that it loads very fast:
included templates & config files (load time in seconds):
index_new.tp ...
  Topic: PHP 4.3.10 Smarty not working ?
niekas

Replies: 10
Views: 10482

PostForum: General   Posted: Mon Dec 20, 2004 11:13 pm   Subject: PHP 4.3.10 Smarty not working ?
I called my hoster - Its not smarty's fault. They were still compiling zend optimizer.

after reboot - everything is working fine (Smarty 2.6.1)
  Topic: PHP 4.3.10 Smarty not working ?
niekas

Replies: 10
Views: 10482

PostForum: General   Posted: Mon Dec 20, 2004 9:28 pm   Subject: PHP 4.3.10 Smarty not working ?
Same here.

My host upgraded PHP version to 4.3.10 and smarty is throwing errors Smarty @version 2.6.1.

Warning: Smarty error: unable to read resource: "index.tpl" in /home/public_html/smarty/Sm ...
  Topic: PLUGIN: smarty textblock paginate
niekas

Replies: 0
Views: 6888

PostForum: Plugins   Posted: Thu May 06, 2004 3:54 am   Subject: PLUGIN: smarty textblock paginate
This is my first smarty plugin that i've written while working on my mini CMS.

its very effective and simple for spliting big article into smaller chunks and creating navigation menu between them : ...
  Topic: How you would proceed?
niekas

Replies: 6
Views: 11333

PostForum: General   Posted: Thu Apr 29, 2004 4:23 am   Subject: How you would proceed?
i like method 1 since its cleaner - no html in php code (both methods are basically the same)

how about for display using a form and disabling <input> fields with "disabled" or "readonly" tag ...
  Topic: concerning "default" modifier
niekas

Replies: 2
Views: 5820

PostForum: Bugs   Posted: Sat Jan 31, 2004 6:29 am   Subject: concerning "default" modifier
the cvs log-entry to the change is:

----------------------------
revision 1.3
date: 2003/04/10 20:55:36; author: mohrt; state: Exp; lines: +1 -1
fixed bug with default ...
  Topic: concerning "default" modifier
niekas

Replies: 2
Views: 5820

PostForum: Bugs   Posted: Fri Jan 30, 2004 5:43 am   Subject: concerning "default" modifier
i'm not sure if its a bug, but it no longer works as before
current version we evaluating:
if (!isset($string) || $string === '')

and if variable is a zero its not considered empty


in smarty ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP