|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
rodneyrehm Administrator
Joined: 30 Mar 2007 Posts: 674 Location: Germany, border to Switzerland
|
Posted: Fri Mar 23, 2012 10:08 am Post subject: |
|
|
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 |
|
thapame Guest
|
Posted: Tue Jan 15, 2013 11:52 pm Post subject: |
|
|
@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 |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Wed Jan 16, 2013 1:24 am Post subject: |
|
|
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 |
|
thapame Guest
|
Posted: Wed Jan 16, 2013 1:56 am Post subject: |
|
|
Any ETA for the release of 3.2? |
|
Back to top |
|
sandy411 Smarty n00b
Joined: 14 Oct 2016 Posts: 1
|
Posted: Fri Oct 14, 2016 2:59 pm Post subject: |
|
|
orrd wrote: | Oh, I entirely forgot complemantaire santé that use_sub_dirs was an option that I had turned on.
But if I turn off use_sub_dirs, will it still divide up the cache into subdirectories based on my cache groups? |
Hello,
I do not think qu'ilseront always visible!
Etpourquoi so the disabled?
Good continuation! |
|
Back to top |
|
|
|
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
|