Re: [Radiant] How-To on disabling caching in Radiant

2011-06-20 Thread Wes Gamble

Tom,

Disabling caching is not really going to help or hurt you with respect 
to Heroku.


Generally, the issues that Heroku presents for Radiant apps. are:

1) Heroku doesn't support git submodules by default, yet.  So you need 
to git clone your extensions into your Radiant app, and make sure that 
you remove any .git, .gitignore files from those directory trees


2) Writing to the filesystem is not allowed in Heroku apps, except to 
the tmp directory (which is where Rack::Cache is implemented)
  a) If you are using Sass and don't precompile your CSS, the Sass 
compilation will fail
  b) If you upload files, you'll need to store them in an offline 
storage area (e.g. Amazon S3, etc. - see the built-in clipped 
extension in 1.0.0RC2 or the paperclipped (separate) extension in = 
0.9.1).


Wes

On 6/18/11 9:37 AM, Tom Brooke wrote:
Just checking on whether or not disabling the cache will get me up and 
running on heroku with 1.0rc and


If anyone has suggestions for Heroku I would be glad to listen



On Tue, Jun 14, 2011 at 2:18 PM, Wes Gamble we...@att.net 
mailto:we...@att.net wrote:


I wrote up a howto on how to disable the cache in Radiant. 
Obviously, if anyone wants to review (and correct) it, feel free.


https://github.com/radiant/radiant/wiki/Disable-caching-in-a-radiant-system

Thanks,
Wes




Re: [Radiant] How-To on disabling caching in Radiant

2011-06-18 Thread Tom Brooke
Just checking on whether or not disabling the cache will get me up and
running on heroku with 1.0rc and

If anyone has suggestions for Heroku I would be glad to listen



On Tue, Jun 14, 2011 at 2:18 PM, Wes Gamble we...@att.net wrote:

 **
 I wrote up a howto on how to disable the cache in Radiant.  Obviously, if
 anyone wants to review (and correct) it, feel free.

 https://github.com/radiant/radiant/wiki/Disable-caching-in-a-radiant-system

 Thanks,
 Wes



Re: [Radiant] How-To on disabling caching in Radiant

2011-06-14 Thread Wes Gamble
You can do anything you want in your overridden cache? method, so I 
would say yes.


W

On 6/14/11 1:21 PM, Paul Noden wrote:


Thanks Wes,

Is there a way to configure this on a path basis rather than page class?

Paul Noden