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

Allow caching of output filters

 
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 -> Feature Requests
View previous topic :: View next topic  
Author Message
DerRebell
Smarty Rookie


Joined: 10 Jul 2012
Posts: 15
Location: Dresden/Germany

PostPosted: Fri Aug 21, 2015 7:41 am    Post subject: Allow caching of output filters Reply with quote

I modified Smarty to being able to write the output created by output filters. The patch is quiet simple, thats why I wonder that this feature is still not available.

I want to contribute that as a patch.
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Aug 21, 2015 4:12 pm    Post subject: Reply with quote

Then go ahead and create a pull request.
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Sat Aug 22, 2015 7:56 pm    Post subject: Reply with quote

Whhat does your patch do? what is it good for?
Back to top
View user's profile Send private message
DerRebell
Smarty Rookie


Joined: 10 Jul 2012
Posts: 15
Location: Dresden/Germany

PostPosted: Fri Jul 08, 2016 11:00 am    Post subject: Reply with quote

It seems that is finally possible to cache the result of output filters as in Smarty v3.1.29: See the example on my github fork: https://github.com/mreiche/smarty/tree/test/caching-output-filters/demo
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 -> Feature Requests 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