I'm going to make my app spool mail, and am trying to find a good place to put the mail spool file.
I like %kernel.cache.dir%/foobarmailspool
because it means my (and my fellow developers') existing filesystem ACLs won't need augmentation.
Is writing in app/cache
poor form?
If not, is there some naming convention I could/should follow?
On second thought, it's probably not a great idea to spool emails into app/cache
, given all the blowing away of the cache that must occur while using symfony2. Still, my question needn't be specific to spooling email, but more about writing to the cache in general (as stated in the title).