[pLog-svn] dynamic plugins
Jon Daley
plogworld at jon.limedaley.com
Mon Jun 4 07:54:17 EDT 2007
Those are the ones I care about at least...
The other ones that I know of are the blogstatistics and whoonline sorts
of things. Probably shoutbox and poll and things like that have trouble
too? I am not sure.
There is probably a way to do the google plugin with javascript, but the
others are harder, I think.
On Mon, 4 Jun 2007, Oscar Renalias wrote:
> Is that all? I am not sure if modifying a working plugin framework for
> just two plugins is a good idea...
>
> On 6/4/07, Jon Daley <plogworld at jon.limedaley.com> wrote:
>> google and randomimage.
>>
>> randomimage is okay even with the cache turned on, google is not.
>>
>> On Mon, 4 Jun 2007, Oscar Renalias wrote:
>>> Well this sounds like a reasonable approach... but I see at least one problem.
>>>
>>> When a page is cached, currently its data is not loaded. So for
>>> example $posts and $blog are not available in main.template when it's
>>> cached because it doesn't make any sense to load that data anymore. So
>>> if you develop a plugin that registers itself as dynamic and depends
>>> in any of the data that is not available anymore, this won't work. The
>>> plugin will be there and trying to run, but it's data will not.
>>>
>>> But before we dig deeper into this, can anybody list any examples of
>>> plugins that would *really* benefit of running even in cached pages
>>> (other than a plugin that would list the number of users currently
>>> logged in)
More information about the pLog-svn
mailing list