Mailinglist Archive: yast-devel (246 mails)

< Previous Next >
[yast-devel] Links: Caching in Rails
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Tue, 04 Aug 2009 13:36:03 +0200
  • Message-id: <4A781D23.1020601@xxxxxxx>
Hi all,

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

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

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

If you are interested in caching in Rails here are some links:


Best Regards

Ladislav Slez√°k
Yast Developer
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >