On 11/25/08 10:25 AM, "Anna Larsson" <[EMAIL PROTECTED]> wrote:
> Vi vill ha en cachningsfrekvens på det anropet på ca 1 timme.
> 
> Är det möjligt att göra på en dynamisk sida?

(I'll answer in English since non-scandinavians might read this too ;-))

It's very possible to do caching, yes. Opensymphony's oscache is being used
in several search commands both in sesat and sesam.no.

Take a look at NewsAggregatorSearchCommand.java in generic.sesam or, in
sesam.no, YrWeatherSearchCommand.java. I'm not sure if the search command
you use support this, but hopefully caching can be implemented rather easily
by following the examples in the above java files.

Håvard has also built in support for the expires-in-seconds attribute, see
http://sesat.no/scarab/issues/id/SKER4932

The client needs to support this, though, for it to work.

-- 
Magne

_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development

Reply via email to