[Radiant] Deactivate page cache for development?

Andreas Semt andreas.semt at gmx.net
Sun Dec 31 04:54:39 CST 2006


@Ruben:

I have to correct something:
My start command for Radiant is:
'sudo mongrel_rails start -e production'.
So I believe i use Radiant in 'production mode'
(unlike 'development mode'), yet i developing
the website (my meaning of 'during
development'). That's not the preferred
way of working with a Rails app, isn't it?

However: If i deactivate the caching (in 'environment.rb')
and then start Radiant with 'sudo mongrel_rails start -e production'
and then click the 'Clear page cache' button in the admin interface
and then loosing most files in '<Radiant-root>/public/' ... looks still 
like a malpractice to me.


Best regards,
Andreas Semt


Ruben D. Orduz schrieb:
> errr...being in development mode should do nothing to your file
> system. That is really, really, really weird.
> 
> PS.: You all Radiantists have a happy and safe new year.
> 
> On 12/30/06, Andreas Semt <andreas.semt at gmx.net> wrote:
>> Thanks!
>>
>> it works ...
>> BUT:
>> After deactivation of the caching mechanism i clicked the
>> 'Clear page cache' button ... oh my!
>> Only the files '.htaccess' and 'index.yml' are still in
>> the 'public' directory under the radiant root dir. *All*
>> other files - inclusive the 'images' subdirectory - are
>> gone. Is that a feature???
>>
>>
>> Best regards,
>> Andreas Semt
>>
>>
>> Ruben D. Orduz schrieb:
>>> Andreas,
>>>
>>> I believe if you comment line 8 of environment.rb and restart your web
>>> server it will, be default, not cache pages.
>>>
>>>
>>>
>>> On 12/29/06, Andreas Semt <andreas.semt at gmx.net> wrote:
>>>> Hello list!
>>>>
>>>> Is it possible to disable the page caching mechanism
>>>> during development of a Radiant web site?
>>>>
>>>> Thanks in advance!
>>>>
>>>>
>>>> Best regards,
>>>> Andreas Semt
>>>> _______________________________________________
>>>> Radiant mailing list
>>>> Post:   Radiant at lists.radiantcms.org
>>>> Search: http://radiantcms.org/mailing-list/search/
>>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>>>
>>> _______________________________________________
>>> Radiant mailing list
>>> Post:   Radiant at lists.radiantcms.org
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>> _______________________________________________
>> Radiant mailing list
>> Post:   Radiant at lists.radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



More information about the Radiant mailing list