[web2py] Re: cache language files
This is not using cache.ram. This is using the mechanism in gluon.cfs that was created to cache bytecode compiled code on GAE. Cache is cleared every time the translation file changes. On 27 Mar, 12:18, Thadeus Burgess wrote: > If a language file gets updated, does the cache get cleared? > > How long is the cache for, is this editable? > > -Thadeus > > On Sat, Mar 27, 2010 at 9:13 AM, David Zejda wrote: > > Thanks :) > > > I'll report if I find any troubles... > > > D. > > > On Mar 26, 6:21 pm, mdipierro wrote: > >> I changed this in trunk. The language files are now cached but please > >> check that I did not not break them. > > > -- > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To post to this group, send email to web...@googlegroups.com. > > To unsubscribe from this group, send email to > > web2py+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] Re: cache language files
If a language file gets updated, does the cache get cleared? How long is the cache for, is this editable? -Thadeus On Sat, Mar 27, 2010 at 9:13 AM, David Zejda wrote: > Thanks :) > > I'll report if I find any troubles... > > D. > > On Mar 26, 6:21 pm, mdipierro wrote: >> I changed this in trunk. The language files are now cached but please >> check that I did not not break them. > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: cache language files
Thanks :) I'll report if I find any troubles... D. On Mar 26, 6:21 pm, mdipierro wrote: > I changed this in trunk. The language files are now cached but please > check that I did not not break them. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: cache language files
I changed this in trunk. The language files are now cached but please check that I did not not break them. Massimo On Mar 26, 11:06 am, David Zejda wrote: > Hi, > > is it true, that languages.py reads language files per request (using > read_dict)? > > If so, is it be possible to cache the loaded languages somehow? > > Thanks! > > David -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] Re: cache language files
Unfortunately it is true. I can change this. It is in my todo list. Massimo On Mar 26, 11:06 am, David Zejda wrote: > Hi, > > is it true, that languages.py reads language files per request (using > read_dict)? > > If so, is it be possible to cache the loaded languages somehow? > > Thanks! > > David -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.