[pLog-svn] RE: patch for http-conditional (fwd)
Jon Daley
plogworld at jon.limedaley.com
Thu Jul 14 20:29:58 GMT 2005
On Thu, 14 Jul 2005, Oscar Renalias wrote:
> If it doesn't break anything else, I don't see why we could use the newest
> version of the class. On the other hand, conditional HTTP requests is not the
> biggest problem we've got with caching but Smarty itself so I don't quite see
> how this would help.
We are already using the latest version (as of last night), but
there is a parameter to enable sessions. Yeah - I am not convinced it
will fix anything, except the public cache thing, which would affect a
small number of people very minimally - although it might have a dramatic
effect on the big server people. They seem to have drifted off the forums
- never answered my questions.
>
> Oscar
>
> On 14 Jul 2005, at 22:34, Jon Daley wrote:
>
>> Hi all. This email is from the author of the http cache conditional
>> functions that we use in plog.
>> He is trying to convince me to use a new feature of the new version -
>> it is interesting, and might be a way around at least part of the caching
>> problem with plugins.
>> Basically, it can detect whether session values have changed, and
>> return a new page based on that information.
>> It might not help us, since we would need smarty to run, but I'll bet
>> we could turn the caching on to public as long as we checked the session
>> values in the http cache. This would speed up plog in the cases where
>> there is a proxy server in between the user and plog. (either in the case
>> where people are trying to lessen the load, like a couple people on the
>> forums, or in the case like myself that uses a squid proxy, or AOL that
>> caches stuff locally, etc.)
>>
>>
>> ---------- Forwarded message ----------
>> Date: Thu, 14 Jul 2005 21:18:28 +0200
>> From: Alexandre Alapetite <rikkealex at webspeed.dk>
>> Reply-To: alexandre at alapetite.net
>> To: 'Jon Daley' <alapetite at jon.limedaley.com>
>> Subject: RE: patch for http-conditional
>>
>> Hi again,
>> I have made a small example for you, using sessions. It is available on
>> http://alexandre.alapetite.net/doc-alex/php-http-304/tests/sessions.php
>>
>> It is aimed to be used while watching the LiveHTTPheaders window.
>>
>> If more than one person is using this example at the same time, the testing
>> might not be very accurate, because of the "touch()"...
>>
>> Cordially,
>> Alexandre
>> http://alexandre.alapetite.net
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.plogworld.net
>> http://devel.plogworld.net/mailman/listinfo/plog-svn
>>
>>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>
**************************************************************
* * The primary cause of failure *
* Jon Daley * in electrical appliances is *
* * an expired warranty. Often, *
* http://jon.limedaley.com/ * you can get an appliance *
* * running again simply by *
* * changing the warranty *
* * expiration date with a *
* * 15/64-inch felt-tipped *
* * marker. *
* * -- Dave Barry, "The Taming of *
* * the Screw" *
**************************************************************
More information about the pLog-svn
mailing list