Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
option to turn off cache directory sub-dividing
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Smarty Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
rodneyrehm
Administrator


Joined: 30 Mar 2007
Posts: 698
Location: Germany, border to Switzerland

PostPosted: Fri Mar 23, 2012 10:08 am    Post subject: Reply with quote

clearCache() accepts $template, $cache_id and $compile_id. Each of them have no relation to one another. One $cache_id (or hierarchy thereof) could be used in multiple $templates and different $compile_ids thereof.
You can only optimize for one of them. The filesystem is not a database where you can query the column you like.

I don't see how you could improve the situation for everyone.
_________________
Twitter
Back to top
View user's profile Send private message Visit poster's website
thapame
Smarty n00b


Joined: 22 Sep 2007
Posts: 4

PostPosted: Tue Jan 15, 2013 11:52 pm    Post subject: Reply with quote

@U.Tews, @rodneyrehm
Is there any temporary solution for RecursiveDirectoryIterator issues when cache_id is specified?

I am using cache groups and one of my site have huge cache files and when I tried to delete cache group that just contains one cache file, it takes lot of time.
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Wed Jan 16, 2013 1:24 am    Post subject: Reply with quote

There will be improvments with the upcomming major release 3.2 because of a new subfolder structure. But there is no solution for 3.1.
Back to top
View user's profile Send private message
thapame
Smarty n00b


Joined: 22 Sep 2007
Posts: 4

PostPosted: Wed Jan 16, 2013 1:56 am    Post subject: Reply with quote

Any ETA for the release of 3.2?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Feature Requests All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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