Re: Reduce the server load by asking firefox to not cache on disk
On Wed, May 15, 2013 at 06:25:03PM +0200, Klaus Knopper wrote:
> There are two disadvantages, though:
>
> 1. In case the user configures a HUGE disk cache, lots of data are
> copied forward and back, so a problem may occur when many users quit
> their firefox at once (i.e. at the end of the lesson). Solution: Combine
> with the "small/no disk cache" approach.
Small correction: Actually, the regular firefox disk cache is excluded
by rsync, but for huge bookmark lists, filters or keyrings, we could
expect some network traffic.
> 2. In case the user logs out or kills his/her session without quitting
> firefox, changes to bookmarks from this session are lost. Well... This
> may happen without the script, too (kill -9).
>
> The script should detect stale symlinks, and remove them automatically
> in case there is a leftover $HOME/.mozilla from the previous session.
Regards
-Klaus
Reply to: