Gossamer Forum
Quote Reply
Search Cache Plugin
Hi,

I'm newbie in plugin but try to implement the Search Cache plugin from the example in the pluging help. I was wondering if it is useful

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] Search Cache Plugin In reply to
Yes and no.

As alex pointed out in a recent thread, it's got limitations, but it serves as an example of how to do a plugin.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Search Cache Plugin In reply to
Yes, I know but I've implemented with some enhance. If a site has very high traffic, it is very useful I thinkCool

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] Search Cache Plugin In reply to
Hi,

Yes, I agree. The plugin in the demo has major limitations, but if you fix those, the cache could be quite useful. The problem with the demo one is:

1. It doesn't handle paging
2. It doesn't handle catid (searching on selected categories)
3. It doesn't handle all the different options (bool, substring, etc)
4. It needs a method to expire cached entries automatically.

But if you handle these cases, it would be quite useful.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Search Cache Plugin In reply to
Thanks Alex for your guid line.

I'm sure that it has these features. Would you like to take a look at it?

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] Search Cache Plugin In reply to
Sure!

Cheers,

Alex
--
Gossamer Threads Inc.