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

Resource plugin seems to get unneccessary call

 
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 -> Smarty 3
View previous topic :: View next topic  
Author Message
ldrut
Smarty Rookie


Joined: 22 Dec 2009
Posts: 11

PostPosted: Wed Jan 20, 2010 11:18 pm    Post subject: Resource plugin seems to get unneccessary call Reply with quote

I have a resource plugin (created using $Smarty->register_resource()) and noticed that each time a resource is included there are two calls to get_timestamp() and one to get_source(). I havn't checked the code but is the doubled timestamp request necessary? Or just too difficult to remove? (using 3.0b6). Seems a bit wasteful since my resources are in a database.

Then again I really should be caching anyway.
Back to top
View user's profile Send private message
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 -> Smarty 3 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