Re: [PHP] Aggressive PHP Smart Caching

2007-08-23 Thread Nathan Nobbe
Alexander, i have begun to experiment w/ your caching tool. i wonder if you would mind providing some feedback.. firstly i noticed a call to ob_start(), ob_start('cacheSave'); which references the method defined beneath the initial bit of code, cacheSave(). in order to actually send anything t

Re: [PHP] Aggressive PHP Smart Caching

2007-06-26 Thread Alexander Romanovich
Thank you for your reply Nathan. You are right that this method of caching is different than the two types you have outlined below. I would not say that it is a new method though, in fact, "pushing static files" to the server is very common. If it weren't for the fact that this method, as I

Re: [PHP] Aggressive PHP Smart Caching

2007-06-25 Thread Crayon Shin Chan
On Monday 25 June 2007 11:55, Nathan Nobbe wrote: >- why cache script output on disk? if a fast cache is your goal, > why not store the result of script output in memory rather than on > disk; that would be much faster Under most OSs whatever is on disk will end up cached in memory sooner or

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Robert Cummings
On Mon, 2007-06-25 at 00:49 -0400, Nathan Nobbe wrote: > > On 6/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > I presume you mean bytecode caching for #1. > yes > > > As for application variables... the lack of application level variables > > is a design choice to make it easier to scale yo

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Nathan Nobbe
On 6/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote: I presume you mean bytecode caching for #1. yes As for application variables... the lack of application level variables is a design choice to make it easier to scale your application horizontally. This is usually referred to as the "shared

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Robert Cummings
On Sun, 2007-06-24 at 23:55 -0400, Nathan Nobbe wrote: > Alexander, > > sorry to see nobody has replied to your post, im sure you worked very hard > on the cache system and are eager for feedback.. > > so to me it looks like youve introduced a somewhat new style of caching here > (though im sure

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Nathan Nobbe
Alexander, sorry to see nobody has replied to your post, im sure you worked very hard on the cache system and are eager for feedback.. so to me it looks like youve introduced a somewhat new style of caching here (though im sure there are other such approaches); for instance i know of 2 main uses

[PHP] Aggressive PHP Smart Caching

2007-06-18 Thread Alexander Romanovich
I'm a PHP developer looking for feedback on a caching approach I put together recently. It's informed by thoughts people have shared on this newslist and other places over the years. My goal was to come up with an extremely lightweight flat file caching system which solves various concerns about p