阅读背景:

django-autocomplete-light:如何缓存选择?

来源:互联网 

I have my own City model (not django-cities-light) with more than 2M records in MySQL table. Each time I'm starting to type in autocomplete field, CPU load on htop table jumps over 200% on mysqld process, so it looks that script requests the table on each autocomplete.I have my own City model (not django-cities-lig




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: