Mailinglist Archive: yast-devel (246 mails)

< Previous Next >
Re: [yast-devel] Links: Caching in Rails
  • From: "Duncan Mac-Vicar Prett" <dmacvicar@xxxxxxx>
  • Date: Tue, 4 Aug 2009 16:10:38 +0200
  • Message-id: <200908041610.38434.dmacvicar@xxxxxxx>
On Tuesday 04 August 2009 13:36:03 Ladislav Slezak wrote:
Hi all,

I have implemented caching in the patches controller (in the REST service),
the index method result is cached now. This speeds up reloading the main
page (control panel) and clicking "Updates" shows the available patches

The first run takes more than 4 seconds on my machine, the following calls
take about 70ms so this is a huge improvement...

(The cache is valid for 5 minutes or until RPM DB or repo metadata are


Duncan Mac-Vicar P. - Engineering Manager, YaST
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >