https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16088
Jesse Weaver <jwea...@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #51418|0 |1 is obsolete| | --- Comment #34 from Jesse Weaver <jwea...@bywatersolutions.com> --- Created attachment 52008 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52008&action=edit Bug 16088: Introduce Koha::Cache::Memory::Lite to cache the language The goal of this patch is to avoid unecessary flush of the L1 cache on creating a new CGI object each time C4::Languages::getlanguage is called without a CGI object. The new class Koha::Cache::Memory::Lite must be flushed by the CGI constructor overide done in the psgi file. This new class will ease caching of specific stuffs used by running script. Test plan: At the OPAC and the intranet interfaces: Open 2 different browser session to simulate several users - Clear the cookies of the browsers - User 1 (U1) an User 2 (U2) should be set to the default language (depending on the browser settings) - U1 chooses another language - U2 refreshes and the language used must be the default one - U2 chooses a third language - U1 refreshes and must be still using the one he has choosen. Try to use a language which is not defined: Add &language=es-ES (if es-ES is not translated) to the url, you should not see the Spanish interface. Signed-off-by: Jacek Ablewicz <a...@biblos.pk.edu.pl> Signed-off-by: Jesse Weaver <jwea...@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/