the only issue I see is a "logged in" user's request populating the
cache. If you display something different for a logged in user public
lusers could be served the logged in users page/data. So you should
not populate cache if user is logged in, because, in some instances,
it would cause issues. But the logged in user will only see the cached
page anyway, so displaying user specific data won't work. But
otherwise, this should provide a huge boost if apache is just serving
html.


On Thu, Jun 23, 2011 at 1:38 PM, Stenehall <[email protected]> wrote:
> Yeah. That should be replace with your path. Having my path there is a
> miss from me.
>
> The path should point to your cache folder in Habari. Something like
> {htdocs,www,httpd}/user/cache should replace /Users/stenehall/Sites/
> home/broken8/htdocs/user/cache
>
> The rule simply checks to see if a cached file exists. If it does it
> redirect the user to that, static, file.
>
> The "misses" statistic on the dashboard is somewhat missleading atm.
> Everytime a cache file doesn't exist the plugin will save a static
> file and register this as a "miss" however it won't register "hits"
> since habari is completly bypassed when the cached file exists.
>
> Testing can simply be done checking how fast the site loads. It really
> should load in around 10ms and not 200ms+. But that greatly depends on
> your server. AB is a way of testing this but that also depends on your
> server.
>
> On 21 Juni, 23:46, Alyaxey Yaskevich <[email protected]>
> wrote:
>> Hi!
>>
>> There are 2 lines in help messages, they look not very clear:
>>
>> RewriteCond /Users/stenehall/Sites/home/broken8/htdocs/user/cache%
>> {REQUEST_URI}.extream -f
>> RewriteRule . user/cache%{REQUEST_URI}.extream [L]
>>
>> Ok, I understand that there is your path in condition and must be my,
>> but actually what should this rule do?
>> Also I'm curious what do mean "Misses" on the Dashboard? (I didn't use
>> staticcache before).
>>
>> How do you test results? ab?
>>
>> On Jun 2, 5:33 pm, Stenehall <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > P.S. Yeah, it is a typo I wrote it 02.00 last night. It really should
>> > be Extreme not Extream.
>>
>> > On 2 Juni, 16:30, Stenehall <[email protected]> wrote:
>>
>> > > I was playing with staticcache last night but didn't really feel that
>> > > it improved the speed by that much. So I wrote a new plugin (heavily
>> > > based on staticcache) that saves actual html files and therefor can
>> > > bypass Habari entirely. For me this results in a speed improvement of
>> > > about 20x (from 200ms to 5-10ms).
>>
>> > > It's far from done but I would love your input. What could be
>> > > improved? What futures does it need?
>>
>> > > To install it first make sure that the server can create folders in /
>> > > user/cache/ and add the .htaccess lines from the help message.
>>
>> > >https://github.com/stenehall/extreamcache/graphs/traffic
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/habari-dev
>



-- 
Matt Read
http://mattread.info
http://mattread.com

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev

Reply via email to