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

Search found 11 matches
Smarty Forum Index
Author Message
  Topic: option to turn off cache directory sub-dividing
orrd

Replies: 19
Views: 69675

PostForum: Feature Requests   Posted: Thu Mar 08, 2012 9:19 pm   Subject: option to turn off cache directory sub-dividing
I have it now on my TODO list to remove the file name hash from the sub_dirs levels.

Yay!

Indeed this does not make too much sense because it is not very likely that a very large number of diffe ...
  Topic: option to turn off cache directory sub-dividing
orrd

Replies: 19
Views: 69675

PostForum: Feature Requests   Posted: Thu Mar 08, 2012 5:47 pm   Subject: option to turn off cache directory sub-dividing
I believe it is necessary that we simplify the directory structure of the cache as much as possible because operations like clearing the cache now take an excessively long time (more than 30 minutes o ...
  Topic: option to turn off cache directory sub-dividing
orrd

Replies: 19
Views: 69675

PostForum: Feature Requests   Posted: Thu Mar 08, 2012 3:51 am   Subject: option to turn off cache directory sub-dividing
I just tested it, and unfortunately, no. Apparently with use_sub_dirs off, it just puts everything in the root directory. Instead of putting cache groups in their own directories, it just names the ...
  Topic: option to turn off cache directory sub-dividing
orrd

Replies: 19
Views: 69675

PostForum: Feature Requests   Posted: Wed Mar 07, 2012 8:23 pm   Subject: option to turn off cache directory sub-dividing
Oh, I entirely forgot 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?
  Topic: option to turn off cache directory sub-dividing
orrd

Replies: 19
Views: 69675

PostForum: Feature Requests   Posted: Wed Mar 07, 2012 7:58 pm   Subject: option to turn off cache directory sub-dividing
Hi. Last month I mentioned in a forum thread that I'd life to have the option to turn off the automatic dividing up of cache folders (/0f/0d/2e/0f0d2ef2...) because I'm using cache groups to do my own ...
  Topic: "unable to write file" cache error
orrd

Replies: 9
Views: 31445

PostForum: Smarty 3   Posted: Sat Jan 28, 2012 7:40 am   Subject: "unable to write file" cache error
Thanks.
  Topic: "unable to write file" cache error
orrd

Replies: 9
Views: 31445

PostForum: Smarty 3   Posted: Fri Jan 27, 2012 10:48 pm   Subject: "unable to write file" cache error
Thanks for the quick replies. It's great that questions actually get answered in this forum.

I can see how there would be some complications for clearCache() depending on how it's implemented.
...
  Topic: "unable to write file" cache error
orrd

Replies: 9
Views: 31445

PostForum: Smarty 3   Posted: Fri Jan 27, 2012 9:16 pm   Subject: "unable to write file" cache error
Ok, hopefully uniqid('wrt', true) will provide enough entropy.

In any case, after a few more days it started to generate the errors again, and after some searching I found this: http://expert.mandr ...
  Topic: "unable to write file" cache error
orrd

Replies: 9
Views: 31445

PostForum: Smarty 3   Posted: Thu Jan 26, 2012 6:57 am   Subject: "unable to write file" cache error
The filesystem is ext3. I am using cache groups for just some of the pages. It is a large database driven site with more than 100,000 pages when you include the foreign language translations, etc. ...
  Topic: "unable to write file" cache error
orrd

Replies: 9
Views: 31445

PostForum: Smarty 3   Posted: Wed Jan 25, 2012 6:53 am   Subject: "unable to write file" cache error
When I turn on use_sub_dirs, the site works fine for a few days until is starts getting "unable to write file" errors like this:

[24-Jan-2012 04:24:26] PHP Fatal error: ...
  Topic: Periods in Associative Array Keys
orrd

Replies: 4
Views: 13495

PostForum: General   Posted: Tue Jun 29, 2010 12:13 am   Subject: Periods in Associative Array Keys
I'm wondering if there is a better fix for this that has been developed over the last 5 years since this was originally posted?

It seems that a good syntax would be {$foo[bad.key]}. Another alterna ...
 
Page 1 of 1
All times are GMT
Jump to:  


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