Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

display ready parts of template while smarty is working...

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
cyberbob
Smarty Rookie


Joined: 27 Oct 2005
Posts: 9

PostPosted: Mon Nov 21, 2005 5:34 pm    Post subject: display ready parts of template while smarty is working... Reply with quote

Hello, All!

I'm building a heavy site for broadband users and I am not happy with smarty templates speed... I'm using compiling and caching, but it takes time to check for cache exists and do some basic things before it starts to send something to browser... is it possible to generate part of page (or take it from cache) and return it to browser, so visitors can see progress of loading, and don't have to wait 1-2 seconds before smth begins...

Thanks a lot,
Bob.
Back to top
View user's profile Send private message Visit poster's website
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Tue Nov 22, 2005 9:05 am    Post subject: Reply with quote

should be doable with flush().
see: http://php.net/outcontrol
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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