[ckan-dev] cache_dir

David Raznick david.raznick at okfn.org
Fri Mar 14 09:09:45 UTC 2014


Hello

The normal data is not stored on disk first and goes straight in the database.

David

On 14 March 2014 09:04, kristi powell <y2kristi at hotmail.com> wrote:
> oh I understand. I'm asking now if a copy of the data that will be saved to Postgres is saved anywhere else on the file system before being persisted.
>
>> On Mar 14, 2014, at 5:00 AM, "David Raznick" <david.raznick at okfn.org> wrote:
>>
>> The data saved there is never persisted to the database, but is saved
>> locally just for a single request.
>>
>>> On 14 March 2014 08:55, kristi powell <y2kristi at hotmail.com> wrote:
>>> but is the data actually saved locally before it's persisted to the db anywhere?
>>>
>>>> On Mar 14, 2014, at 4:41 AM, "David Raznick" <david.raznick at okfn.org> wrote:
>>>>
>>>> Hello
>>>>
>>>> The cache directory or the session directory is only used for stuff
>>>> that is not saved in the database.  It is always safe to remove.  It
>>>> is only used for very temporary data.  CKAN only uses it infact to
>>>> store the little popup messages that come up after you are redirected
>>>> to a new page.
>>>>
>>>> David
>>>>
>>>>> On 14 March 2014 07:36, kristi powell <y2kristi at hotmail.com> wrote:
>>>>> can anyone explain this setting to me please?
>>>>>
>>>>> thanks.
>>>>>
>>>>>> On Mar 13, 2014, at 3:45 AM, "kristi powell" <y2kristi at hotmail.com> wrote:
>>>>>>
>>>>>> hello...
>>>>>>
>>>>>> is there anything written into cache before the data is saved to the database? I see a setting called "cache_dir" is that just session information or actual data? is there any data saved locally before it's persisted?
>>>>>>
>>>>>> thanks
>>>>>>
>>>>>> kristie
>>>>>> _______________________________________________
>>>>>> ckan-dev mailing list
>>>>>> ckan-dev at lists.okfn.org
>>>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>>> _______________________________________________
>>>>> ckan-dev mailing list
>>>>> ckan-dev at lists.okfn.org
>>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>> _______________________________________________
>>>> ckan-dev mailing list
>>>> ckan-dev at lists.okfn.org
>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev



More information about the ckan-dev mailing list