Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Location of cache folder (was Re: [Habari-SVN] Re: [habari commit] r1099 - in trunk/htdocs: . system/admin system/classes)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Geoffrey Sneddon  
View profile  
 More options Nov 20 2007, 6:17 pm
From: Geoffrey Sneddon <foolist...@googlemail.com>
Date: Tue, 20 Nov 2007 23:17:26 +0000
Local: Tues, Nov 20 2007 6:17 pm
Subject: Location of cache folder (was Re: [Habari-SVN] Re: [habari commit] r1099 - in trunk/htdocs: . system/admin system/classes)

On 20 Nov 2007, at 23:12, Christopher Davis wrote:

I don't particularly like it being in /system either — where are user  
plugins meant to cache, for example? Making them cache in /system  
seems illogical. I personally would prefer creating a /cache folder,  
or, alternatively, creating a /files folder under which every web-
server writeable file/folder exists.

--
Geoffrey Sneddon
<http://gsnedders.com/>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Location of cache folder" by Caius Durling
Caius Durling  
View profile  
 More options Nov 20 2007, 6:24 pm
From: Caius Durling <nemo8...@gmail.com>
Date: Tue, 20 Nov 2007 23:24:22 +0000
Local: Tues, Nov 20 2007 6:24 pm
Subject: Re: Location of cache folder

On 20 Nov 2007, at 23:17, Geoffrey Sneddon wrote:

> I don't particularly like it being in /system either — where are  
> user plugins meant to cache, for example? Making them cache in /
> system seems illogical. I personally would prefer creating a /cache  
> folder, or, alternatively, creating a /files folder under which  
> every web-server writeable file/folder exists.

I think /cache seems the most appropriate.  maybe have the following  
structure?

/cache
        - content
        - plugins

and then plugins can cache in /cache/plugins/<plugin_name>/ and the  
content is cached in /cache/content/.  Seems logical to me.

C
____________________________________

Caius Durling
UK Student -- +44 (0) 7960 268100
ca...@caius.name -- nemo8...@mac.com
http://caius.name/ -- http://hentan.eu
____________________________________


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Owen Winkler  
View profile  
 More options Nov 21 2007, 1:19 am
From: "Owen Winkler" <epit...@gmail.com>
Date: Wed, 21 Nov 2007 01:19:13 -0500
Local: Wed, Nov 21 2007 1:19 am
Subject: Re: [habari-dev] Re: Location of cache folder
On Nov 20, 2007 6:24 PM, Caius Durling <nemo8...@gmail.com> wrote:

> I think /cache seems the most appropriate.  maybe have the following
> structure?

> /cache
>  - content
>  - plugins

> and then plugins can cache in /cache/plugins/<plugin_name>/ and the content
> is cached in /cache/content/.  Seems logical to me.

Why do plugins need their own cache?

Owen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robin Adrianse  
View profile  
 More options Nov 21 2007, 2:41 am
From: "Robin Adrianse" <robin....@gmail.com>
Date: Tue, 20 Nov 2007 23:41:44 -0800
Local: Wed, Nov 21 2007 2:41 am
Subject: Re: [habari-dev] Re: Location of cache folder

I suppose it could be to avoid conflicts, but I think that it isn't
necessarily necessary.

On Nov 20, 2007 10:19 PM, Owen Winkler <epit...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Mohn  
View profile  
 More options Nov 21 2007, 4:53 am
From: "Christian Mohn" <h0b...@gmail.com>
Date: Wed, 21 Nov 2007 10:53:02 +0100
Local: Wed, Nov 21 2007 4:53 am
Subject: RE: [habari-dev] Re: Location of cache folder

Why would there be conflicts? Why would there be a need to separate system
and plugin caches? A cache is expendable, it's doomed from the time it's
created and serves a temporary purpose by nature.

Also, the cache location is set via a static that could potentially be
changed to use whatever path you want, or I guess a plugin could. Which
makes sense as a plugin could potentially add other caching mechanisms
beside filesystem.

As it is now, it's dead simple to use, and requires next to nothing from
plugin developers. It just works, that is after you create the directory and
change permissions on it so that Apache can write to it.

While I might agree that system/cache might not be the best location from a
user perspective, since the user would have to create and chmod the
directory,  I really do not see why we should make it more complex my
creating plugin subdirs etc. There is no need for that.

Christian

From: habari-dev@googlegroups.com [mailto:habari-dev@googlegroups.com] On
Behalf Of Robin Adrianse
Sent: 21. november 2007 08:42
To: habari-dev@googlegroups.com
Subject: [habari-dev] Re: Location of cache folder

I suppose it could be to avoid conflicts, but I think that it isn't
necessarily necessary.

On Nov 20, 2007 10:19 PM, Owen Winkler <epit...@gmail.com

<mailto:epit...@gmail.com> > wrote:

On Nov 20, 2007 6:24 PM, Caius Durling < <mailto:nemo8...@gmail.com>

nemo8...@gmail.com> wrote:

> I think /cache seems the most appropriate.  maybe have the following
> structure?

> /cache
>  - content
>  - plugins

> and then plugins can cache in /cache/plugins/<plugin_name>/ and the
content
> is cached in /cache/content/.  Seems logical to me.

Why do plugins need their own cache?

Owen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Mohn  
View profile  
 More options Nov 21 2007, 5:51 am
From: "Christian Mohn" <h0b...@gmail.com>
Date: Wed, 21 Nov 2007 11:51:25 +0100
Local: Wed, Nov 21 2007 5:51 am
Subject: RE: [habari-dev] Re: Location of cache folder

I've added a very small patch to issue 487
(http://code.google.com/p/habari/issues/detail?id=487 ) that enables logging
if the cache directory is inaccessible. At least that provides a indication
to the user that caching is not working and that the cache dir isn't
working.

Christian

From: habari-dev@googlegroups.com [mailto:habari-dev@googlegroups.com] On
Behalf Of Robin Adrianse
Sent: 21. november 2007 08:42
To: habari-dev@googlegroups.com
Subject: [habari-dev] Re: Location of cache folder

I suppose it could be to avoid conflicts, but I think that it isn't
necessarily necessary.

On Nov 20, 2007 10:19 PM, Owen Winkler <epit...@gmail.com

<mailto:epit...@gmail.com> > wrote:

On Nov 20, 2007 6:24 PM, Caius Durling < <mailto:nemo8...@gmail.com>

nemo8...@gmail.com> wrote:

> I think /cache seems the most appropriate.  maybe have the following
> structure?

> /cache
>  - content
>  - plugins

> and then plugins can cache in /cache/plugins/<plugin_name>/ and the
content
> is cached in /cache/content/.  Seems logical to me.

Why do plugins need their own cache?

Owen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthias Bauer  
View profile  
 More options Nov 21 2007, 7:46 am
From: Matthias Bauer <moef...@moeffju.net>
Date: Wed, 21 Nov 2007 13:46:00 +0100
Subject: Re: [habari-dev] Re: Location of cache folder
On 2007-11-21 11:51 Christian Mohn wrote:

> I’ve added a very small patch to issue 487
> (http://code.google.com/p/habari/issues/detail?id=487 ) that enables
> logging if the cache directory is inaccessible. At least that provides a
> indication to the user that caching is not working and that the cache
> dir isn’t working.

Committed, thanks.

-Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Mohn (h0bbel)  
View profile  
 More options Nov 21 2007, 8:31 am
From: "Christian Mohn (h0bbel)" <h0b...@gmail.com>
Date: Wed, 21 Nov 2007 05:31:00 -0800 (PST)
Subject: Re: Location of cache folder
Excellent :)

On Nov 21, 1:46 pm, Matthias Bauer <moef...@moeffju.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »