2007年10月17日 星期三 18:14
虽然目前Django的应用开始多了起来,但相比PHP、JAVA等还差得太远了。 想要找个现成的论坛,有,不过功能还很简单,连附件管理功能都没有。 Blog,有,一样的简单:(。 总之能找到的东西都很简单。 -- Blog http://vicalloy.spaces.live.com/ My googlepage http://vicalloy.googlepages.com/ OldPhoto http://www.lzpian.com/
2007年10月17日 星期三 18:22
On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > 虽然目前Django的应用开始多了起来,但相比PHP、JAVA等还差得太远了。 > 想要找个现成的论坛,有,不过功能还很简单,连附件管理功能都没有。 > Blog,有,一样的简单:(。 > 总之能找到的东西都很简单。 > 功能与复杂度永远是成正比的。 想要功能强,就一定复杂,学起来难。 又想要功能强,又不想学复杂的东西。哪有那么好的事? 想要功能强,去学zope/plone吧。貌似什么功能都有了。 -- Best Regards, Leo Jay
2007年10月17日 星期三 18:28
:(说得好像Django只能做一些简单的小东西一样。 在 07-10-17,Leo Jay<python.leojay在gmail.com> 写道: > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > 虽然目前Django的应用开始多了起来,但相比PHP、JAVA等还差得太远了。 > > 想要找个现成的论坛,有,不过功能还很简单,连附件管理功能都没有。 > > Blog,有,一样的简单:(。 > > 总之能找到的东西都很简单。 > > > > 功能与复杂度永远是成正比的。 > 想要功能强,就一定复杂,学起来难。 > 又想要功能强,又不想学复杂的东西。哪有那么好的事? > > 想要功能强,去学zope/plone吧。貌似什么功能都有了。 > > > -- > Best Regards, > Leo Jay > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -- Blog http://vicalloy.spaces.live.com/ My googlepage http://vicalloy.googlepages.com/ OldPhoto http://www.lzpian.com/
2007年10月17日 星期三 18:33
功能与复杂度永远是成正比的。 但总有个平衡点,这个平衡点根据不通的需求而不通。 对于我来说,我希望的平衡点是。 如果Django有不少现有的模块,拿过来做个集成,减少重复开发的工作量。
2007年10月17日 星期三 18:34
On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > :(说得好像Django只能做一些简单的小东西一样。 > 功能强不强是相对的啊。 相对于你又要论坛,又要CMS,又要blog,而且功能简单了还不行的要求来说, django是简单了一些。 相对于我平时的需求来说,webpy都显得复杂了些。更别说django了。 -- Best Regards, Leo Jay
2007年10月17日 星期三 20:03
ÓÃdjango×öÂÛ̳ ¸ºÔعÀ¼ÆºÜ³ÉÎÊÌ⣬queryÊýÌ«¶àÁË¡£ Èç¹ûÂÛ̳ÈÕIPÒ»Á½ÍòµÄÈç¹ûÓÃDZÖ®ÀàµÄ Âò¸öÐéÄâ¿Õ¼ä¾ÍÐÐÁË¡£ ÎÒÏëÓÃÈç¹ûÊÇdjango×öµÄ»°ÕâÑùµÄ·ÃÎÊÁ¿²»×öcacheµÄ»° Êý¾Ý¿âºÜ¿ÉÄܱ»ÍÏËÀ¡£ ÎÒÏëdjango¸üÊʺÏ×öÄÚÈÝ·¢²¼Ö®ÀàµÄ¶«Î÷¡£·¢²¼³öÀ´±ä»¯¾Í±È½ÏСÁË cacheÄÜ·¢»Ó±È½Ï´óµÄ×÷ÓᣠOn 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > ËäȻĿǰDjangoµÄÓ¦ÓÿªÊ¼¶àÁËÆðÀ´£¬µ«Ïà±ÈPHP¡¢JAVAµÈ»¹²îµÃÌ«Ô¶ÁË¡£ > ÏëÒªÕÒ¸öÏֳɵÄÂÛ̳£¬ÓУ¬²»¹ý¹¦ÄÜ»¹ºÜ¼òµ¥£¬Á¬¸½¼þ¹ÜÀí¹¦Äܶ¼Ã»ÓС£ > Blog£¬ÓУ¬Ò»ÑùµÄ¼òµ¥£º£¨¡£ > ×ÜÖ®ÄÜÕÒµ½µÄ¶«Î÷¶¼ºÜ¼òµ¥¡£ > > -- > Blog http://vicalloy.spaces.live.com/ > My googlepage http://vicalloy.googlepages.com/ > OldPhoto http://www.lzpian.com/ > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071017/ddec7b7f/attachment.html
2007年10月17日 星期三 20:08
ÔÙ¾ÍÊÇ´æÔÚµÄʱ¼äÒ²²»Ò»Ñù ºÇºÇ php¾ÍÊÇΪÁËwebÓ¦Óõ®ÉúµÄ£¬ÓÖÒѾÕâô¶àÄêÁË ³ÉÊìµÄ³ÌÐò±È½Ï¶àÒ²Õý³£¡£ »¹ÓоÍÊÇdjango×÷Ϊ¿ò¼ÜÒ²²»¸ÃºÍÒ»ÃÅÓïÑÔÀ´±È°¡¡£ phpÏ»¹²»Ò»¶¨ÓÐdjangoÕâÑùºÃÓõÄweb¿ò¼ÜÄØ¡££¨Ìý˵¹ýµÄphp¿ò¼ÜÒ²²»¶à) On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > ËäȻĿǰDjangoµÄÓ¦ÓÿªÊ¼¶àÁËÆðÀ´£¬µ«Ïà±ÈPHP¡¢JAVAµÈ»¹²îµÃÌ«Ô¶ÁË¡£ > ÏëÒªÕÒ¸öÏֳɵÄÂÛ̳£¬ÓУ¬²»¹ý¹¦ÄÜ»¹ºÜ¼òµ¥£¬Á¬¸½¼þ¹ÜÀí¹¦Äܶ¼Ã»ÓС£ > Blog£¬ÓУ¬Ò»ÑùµÄ¼òµ¥£º£¨¡£ > ×ÜÖ®ÄÜÕÒµ½µÄ¶«Î÷¶¼ºÜ¼òµ¥¡£ > > -- > Blog http://vicalloy.spaces.live.com/ > My googlepage http://vicalloy.googlepages.com/ > OldPhoto http://www.lzpian.com/ > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071017/4b22b6a4/attachment.html
2007年10月17日 星期三 20:41
做论坛的话应当也没这么夸张。 对于大访问量的web肯定都都有cache的。 JAVAEYE用ROR做的,性能方面还可以。 DJANGO默认的OR/MAP应当没这么差。 在 07-10-17,@@<askfor在gmail.com> 写道: > 用django做论坛 负载估计很成问题,query数太多了。 > 如果论坛日IP一两万的如果用DZ之类的 买个虚拟空间就行了。 > 我想用如果是django做的话这样的访问量不做cache的话 数据库很可能被拖死。 > > 我想django更适合做内容发布之类的东西。发布出来变化就比较小了 cache能发挥比较大的作用。 > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > 虽然目前Django的应用开始多了起来,但相比PHP、JAVA等还差得太远了。 > > 想要找个现成的论坛,有,不过功能还很简单,连附件管理功能都没有。 > > Blog,有,一样的简单:(。 > > 总之能找到的东西都很简单。 > > > > -- > > Blog http://vicalloy.spaces.live.com/ > > My googlepage http://vicalloy.googlepages.com/ > > OldPhoto http://www.lzpian.com/ > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > -- Blog http://vicalloy.spaces.live.com/ My googlepage http://vicalloy.googlepages.com/ OldPhoto http://www.lzpian.com/
2007年10月17日 星期三 20:49
ÓÃ×Ô¼ºµÄÖ÷»úµÄºÍÓÃÐéÄâÖ÷»ú×ÔÈ»²»Äܱȡ£ ×Ô¼ºµÄÖ÷»ú×ÊÔ´Õ¼ÓÃÂʸߵãÒ²ÎÞËùν£¬µ«ÊÇÐéÄâÖ÷»ú¿Õ¼äÉ̾Ͳ»»á´ðÓ¦ÁË ºÇºÇ¡£ djangoµÄcache_view²»ÖªµÀÔõôʵÏֵģ¬²»ÖªµÀÊDz»ÊǺÍsmartyµÄcache²î²»¶à£¬ ÓÐÕâÑùÒ»¼¶µÄcacheÓ¦¸Ã»áºÃµã£¬ ºÇºÇ¡£ On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > ×öÂÛ̳µÄ»°Ó¦µ±Ò²Ã»Õâô¿äÕÅ¡£ > ¶ÔÓÚ´ó·ÃÎÊÁ¿µÄweb¿Ï¶¨¶¼¶¼ÓÐcacheµÄ¡£ > JAVAEYEÓÃROR×öµÄ£¬ÐÔÄÜ·½Ã滹¿ÉÒÔ¡£ > DJANGOĬÈϵÄOR/MAPÓ¦µ±Ã»Õâô²î¡£ > > ÔÚ 07-10-17£¬@@<askfor在gmail.com> дµÀ£º > > ÓÃdjango×öÂÛ̳ ¸ºÔعÀ¼ÆºÜ³ÉÎÊÌ⣬queryÊýÌ«¶àÁË¡£ > > Èç¹ûÂÛ̳ÈÕIPÒ»Á½ÍòµÄÈç¹ûÓÃDZÖ®ÀàµÄ Âò¸öÐéÄâ¿Õ¼ä¾ÍÐÐÁË¡£ > > ÎÒÏëÓÃÈç¹ûÊÇdjango×öµÄ»°ÕâÑùµÄ·ÃÎÊÁ¿²»×öcacheµÄ»° Êý¾Ý¿âºÜ¿ÉÄܱ»ÍÏËÀ¡£ > > > > ÎÒÏëdjango¸üÊʺÏ×öÄÚÈÝ·¢²¼Ö®ÀàµÄ¶«Î÷¡£·¢²¼³öÀ´±ä»¯¾Í±È½ÏСÁË cacheÄÜ·¢»Ó±È½Ï´óµÄ×÷Óᣠ> > > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > > > ËäȻĿǰDjangoµÄÓ¦ÓÿªÊ¼¶àÁËÆðÀ´£¬µ«Ïà±ÈPHP¡¢JAVAµÈ»¹²îµÃÌ«Ô¶ÁË¡£ > > > ÏëÒªÕÒ¸öÏֳɵÄÂÛ̳£¬ÓУ¬²»¹ý¹¦ÄÜ»¹ºÜ¼òµ¥£¬Á¬¸½¼þ¹ÜÀí¹¦Äܶ¼Ã»ÓС£ > > > Blog£¬ÓУ¬Ò»ÑùµÄ¼òµ¥£º£¨¡£ > > > ×ÜÖ®ÄÜÕÒµ½µÄ¶«Î÷¶¼ºÜ¼òµ¥¡£ > > > > > > -- > > > Blog http://vicalloy.spaces.live.com/ > > > My googlepage http://vicalloy.googlepages.com/ > > > OldPhoto http://www.lzpian.com/ > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to > > python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to > > python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > -- > Blog http://vicalloy.spaces.live.com/ > My googlepage http://vicalloy.googlepages.com/ > OldPhoto http://www.lzpian.com/ > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071017/8e7f2742/attachment-0001.html
2007年10月17日 星期三 22:46
ÔÚsmartyÖÐ,ÎÒÃÇ¿´µ½´ó¶àÇëÇóµÄÒ³Ã涼±»Éú³ÉÀàËƾ²Ì¬µÄÒ³ÃæÔÚcacheĿ¼ÏÂ, Ï´ÎÇëÇóÊǶÁÈ¡Õâ¸öÒ³Ãæ ÔÚdjangoÖÐ,ÖÁÉÙûÓÐÕâÑù, ÊÇÓÃÄÚ´æÀ´´æÈ¡µÄ. ËùÒÔÄã°ÑÄÚ´æ¸å´óһЩ°É.:) On 10/17/07, @@ <askfor在gmail.com> wrote: > > ÓÃ×Ô¼ºµÄÖ÷»úµÄºÍÓÃÐéÄâÖ÷»ú×ÔÈ»²»Äܱȡ£ > > ×Ô¼ºµÄÖ÷»ú×ÊÔ´Õ¼ÓÃÂʸߵãÒ²ÎÞËùν£¬µ«ÊÇÐéÄâÖ÷»ú¿Õ¼äÉ̾Ͳ»»á´ðÓ¦ÁË ºÇºÇ¡£ > > djangoµÄcache_view²»ÖªµÀÔõôʵÏֵģ¬²»ÖªµÀÊDz»ÊǺÍsmartyµÄcache²î²»¶à£¬ ÓÐÕâÑùÒ»¼¶µÄcacheÓ¦¸Ã»áºÃµã£¬ ºÇºÇ¡£ > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > ×öÂÛ̳µÄ»°Ó¦µ±Ò²Ã»Õâô¿äÕÅ¡£ > > ¶ÔÓÚ´ó·ÃÎÊÁ¿µÄweb¿Ï¶¨¶¼¶¼ÓÐcacheµÄ¡£ > > JAVAEYEÓÃROR×öµÄ£¬ÐÔÄÜ·½Ã滹¿ÉÒÔ¡£ > > DJANGOĬÈϵÄOR/MAPÓ¦µ±Ã»Õâô²î¡£ > > > > ÔÚ 07-10-17£¬@@< askfor在gmail.com> дµÀ£º > > > ÓÃdjango×öÂÛ̳ ¸ºÔعÀ¼ÆºÜ³ÉÎÊÌ⣬queryÊýÌ«¶àÁË¡£ > > > Èç¹ûÂÛ̳ÈÕIPÒ»Á½ÍòµÄÈç¹ûÓÃDZÖ®ÀàµÄ Âò¸öÐéÄâ¿Õ¼ä¾ÍÐÐÁË¡£ > > > ÎÒÏëÓÃÈç¹ûÊÇdjango×öµÄ»°ÕâÑùµÄ·ÃÎÊÁ¿²»×öcacheµÄ»° Êý¾Ý¿âºÜ¿ÉÄܱ»ÍÏËÀ¡£ > > > > > > ÎÒÏëdjango¸üÊʺÏ×öÄÚÈÝ·¢²¼Ö®ÀàµÄ¶«Î÷¡£·¢²¼³öÀ´±ä»¯¾Í±È½ÏСÁË cacheÄÜ·¢»Ó±È½Ï´óµÄ×÷Óᣠ> > > > > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > > > > > ËäȻĿǰDjangoµÄÓ¦ÓÿªÊ¼¶àÁËÆðÀ´£¬µ«Ïà±ÈPHP¡¢JAVAµÈ»¹²îµÃÌ«Ô¶ÁË¡£ > > > > ÏëÒªÕÒ¸öÏֳɵÄÂÛ̳£¬ÓУ¬²»¹ý¹¦ÄÜ»¹ºÜ¼òµ¥£¬Á¬¸½¼þ¹ÜÀí¹¦Äܶ¼Ã»ÓС£ > > > > Blog£¬ÓУ¬Ò»ÑùµÄ¼òµ¥£º£¨¡£ > > > > ×ÜÖ®ÄÜÕÒµ½µÄ¶«Î÷¶¼ºÜ¼òµ¥¡£ > > > > > > > > -- > > > > Blog http://vicalloy.spaces.live.com/ > > > > My googlepage http://vicalloy.googlepages.com/ > > > > OldPhoto http://www.lzpian.com/ > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese在lists.python.cn > > > > Subscribe: send subscribe to > > > python-chinese-request在lists.python.cn > > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > > Detail Info: > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to > > > python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > Detail Info: > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > -- > > Blog http://vicalloy.spaces.live.com/ > > My googlepage http://vicalloy.googlepages.com/ > > OldPhoto http://www.lzpian.com/ > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- ÿ¸öÈ˶¼ÓÐһƬÊôÓÚ×Ô¼ºµÄÉÁÖ, ÃÔʧµÄÈËÃÔʧÁË, Ïà·êµÄ»¹»áÔÙÏà·ê... Gtalk: iexper(at)gmail.com -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071017/f2332b88/attachment-0001.html
2007年10月19日 星期五 14:14
ÎÒûϸÐÄ¿´¹ý£¬µ«ÊÇ×î¼òµ¥µÄ·½·¨¾ÍÊÇ°ÑheaderÖмÓÉÏcache ctl£¬Ç°Ãæ¸ã¸ösquid²»¾Í³ÉÁË :) ÔÚ07-10-17£¬´óÀÉ <iexper在gmail.com> дµÀ£º > > ÔÚsmartyÖÐ,ÎÒÃÇ¿´µ½´ó¶àÇëÇóµÄÒ³Ã涼±»Éú³ÉÀàËƾ²Ì¬µÄÒ³ÃæÔÚcacheĿ¼ÏÂ, Ï´ÎÇëÇóÊǶÁÈ¡Õâ¸öÒ³Ãæ > > ÔÚdjangoÖÐ,ÖÁÉÙûÓÐÕâÑù, ÊÇÓÃÄÚ´æÀ´´æÈ¡µÄ. ËùÒÔÄã°ÑÄÚ´æ¸å´óһЩ°É.:) > > On 10/17/07, @@ < askfor在gmail.com> wrote: > > > > ÓÃ×Ô¼ºµÄÖ÷»úµÄºÍÓÃÐéÄâÖ÷»ú×ÔÈ»²»Äܱȡ£ > > > > ×Ô¼ºµÄÖ÷»ú×ÊÔ´Õ¼ÓÃÂʸߵãÒ²ÎÞËùν£¬µ«ÊÇÐéÄâÖ÷»ú¿Õ¼äÉ̾Ͳ»»á´ðÓ¦ÁË ºÇºÇ¡£ > > > > djangoµÄcache_view²»ÖªµÀÔõôʵÏֵģ¬²»ÖªµÀÊDz»ÊǺÍsmartyµÄcache²î²»¶à£¬ ÓÐÕâÑùÒ»¼¶µÄcacheÓ¦¸Ã»áºÃµã£¬ ºÇºÇ¡£ > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > > > ×öÂÛ̳µÄ»°Ó¦µ±Ò²Ã»Õâô¿äÕÅ¡£ > > > ¶ÔÓÚ´ó·ÃÎÊÁ¿µÄweb¿Ï¶¨¶¼¶¼ÓÐcacheµÄ¡£ > > > JAVAEYEÓÃROR×öµÄ£¬ÐÔÄÜ·½Ã滹¿ÉÒÔ¡£ > > > DJANGOĬÈϵÄOR/MAPÓ¦µ±Ã»Õâô²î¡£ > > > > > > ÔÚ 07-10-17£¬@@< askfor在gmail.com> дµÀ£º > > > > ÓÃdjango×öÂÛ̳ ¸ºÔعÀ¼ÆºÜ³ÉÎÊÌ⣬queryÊýÌ«¶àÁË¡£ > > > > Èç¹ûÂÛ̳ÈÕIPÒ»Á½ÍòµÄÈç¹ûÓÃDZÖ®ÀàµÄ Âò¸öÐéÄâ¿Õ¼ä¾ÍÐÐÁË¡£ > > > > ÎÒÏëÓÃÈç¹ûÊÇdjango×öµÄ»°ÕâÑùµÄ·ÃÎÊÁ¿²»×öcacheµÄ»° Êý¾Ý¿âºÜ¿ÉÄܱ»ÍÏËÀ¡£ > > > > > > > > ÎÒÏëdjango¸üÊʺÏ×öÄÚÈÝ·¢²¼Ö®ÀàµÄ¶«Î÷¡£·¢²¼³öÀ´±ä»¯¾Í±È½ÏСÁË cacheÄÜ·¢»Ó±È½Ï´óµÄ×÷Óᣠ> > > > > > > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > > > > > > > ËäȻĿǰDjangoµÄÓ¦ÓÿªÊ¼¶àÁËÆðÀ´£¬µ«Ïà±ÈPHP¡¢JAVAµÈ»¹²îµÃÌ«Ô¶ÁË¡£ > > > > > ÏëÒªÕÒ¸öÏֳɵÄÂÛ̳£¬ÓУ¬²»¹ý¹¦ÄÜ»¹ºÜ¼òµ¥£¬Á¬¸½¼þ¹ÜÀí¹¦Äܶ¼Ã»ÓС£ > > > > > Blog£¬ÓУ¬Ò»ÑùµÄ¼òµ¥£º£¨¡£ > > > > > ×ÜÖ®ÄÜÕÒµ½µÄ¶«Î÷¶¼ºÜ¼òµ¥¡£ > > > > > > > > > > -- > > > > > Blog http://vicalloy.spaces.live.com/ > > > > > My googlepage http://vicalloy.googlepages.com/ > > > > > OldPhoto http://www.lzpian.com/ > > > > > _______________________________________________ > > > > > python-chinese > > > > > Post: send python-chinese在lists.python.cn > > > > > Subscribe: send subscribe to > > > > python-chinese-request在lists.python.cn > > > > > Unsubscribe: send unsubscribe to > > > > python-chinese-request在lists.python.cn > > > > > Detail Info: > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese在lists.python.cn > > > > Subscribe: send subscribe to > > > > python-chinese-request在lists.python.cn > > > > Unsubscribe: send unsubscribe to > > > > python-chinese-request在lists.python.cn > > > > Detail Info: > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > -- > > > Blog http://vicalloy.spaces.live.com/ > > > My googlepage http://vicalloy.googlepages.com/ > > > OldPhoto http://www.lzpian.com/ > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > -- > ÿ¸öÈ˶¼ÓÐһƬÊôÓÚ×Ô¼ºµÄÉÁÖ, ÃÔʧµÄÈËÃÔʧÁË, Ïà·êµÄ»¹»áÔÙÏà·ê... > Gtalk: iexper(at)gmail.com > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- HD£¨È¼ÉÕÖеĻ𣩠ÎÒ¹¤×÷ÎÒ¿ìÀÖ£¬ÎÒÇÚ·ÜÎÒÊÕ»ñ¡£ÇëÓëÎÒÒ»Æð¿ìÀÖ£¬ÓëÎÒÒ»ÆðÊÕ»ñ¡£ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071019/b35d802d/attachment.html
2007年10月19日 星期五 15:56
DJANGO»º´æÒ²ÓкܺõĽâ¾ö·½°¸£¬È¥GOOGLEÒ»Ï塃 ÔÚ07-10-19£¬HD <hdcola在gmail.com> дµÀ£º > > ÎÒûϸÐÄ¿´¹ý£¬µ«ÊÇ×î¼òµ¥µÄ·½·¨¾ÍÊÇ°ÑheaderÖмÓÉÏcache ctl£¬Ç°Ãæ¸ã¸ösquid²»¾Í³ÉÁË :) > > ÔÚ07-10-17£¬´óÀÉ <iexper在gmail.com> дµÀ£º > > > > ÔÚsmartyÖÐ,ÎÒÃÇ¿´µ½´ó¶àÇëÇóµÄÒ³Ã涼±»Éú³ÉÀàËƾ²Ì¬µÄÒ³ÃæÔÚcacheĿ¼ÏÂ, Ï´ÎÇëÇóÊǶÁÈ¡Õâ¸öÒ³Ãæ > > > > ÔÚdjangoÖÐ,ÖÁÉÙûÓÐÕâÑù, ÊÇÓÃÄÚ´æÀ´´æÈ¡µÄ. ËùÒÔÄã°ÑÄÚ´æ¸å´óһЩ°É.:) > > > > On 10/17/07, @@ < askfor在gmail.com> wrote: > > > > > > ÓÃ×Ô¼ºµÄÖ÷»úµÄºÍÓÃÐéÄâÖ÷»ú×ÔÈ»²»Äܱȡ£ > > > > > > ×Ô¼ºµÄÖ÷»ú×ÊÔ´Õ¼ÓÃÂʸߵãÒ²ÎÞËùν£¬µ«ÊÇÐéÄâÖ÷»ú¿Õ¼äÉ̾Ͳ»»á´ðÓ¦ÁË ºÇºÇ¡£ > > > > > > > > > djangoµÄcache_view²»ÖªµÀÔõôʵÏֵģ¬²»ÖªµÀÊDz»ÊǺÍsmartyµÄcache²î²»¶à£¬ ÓÐÕâÑùÒ»¼¶µÄcacheÓ¦¸Ã»áºÃµã£¬ ºÇºÇ¡£ > > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > > > > > ×öÂÛ̳µÄ»°Ó¦µ±Ò²Ã»Õâô¿äÕÅ¡£ > > > > ¶ÔÓÚ´ó·ÃÎÊÁ¿µÄweb¿Ï¶¨¶¼¶¼ÓÐcacheµÄ¡£ > > > > JAVAEYEÓÃROR×öµÄ£¬ÐÔÄÜ·½Ã滹¿ÉÒÔ¡£ > > > > DJANGOĬÈϵÄOR/MAPÓ¦µ±Ã»Õâô²î¡£ > > > > > > > > ÔÚ 07-10-17£¬@@< askfor在gmail.com> дµÀ£º > > > > > ÓÃdjango×öÂÛ̳ ¸ºÔعÀ¼ÆºÜ³ÉÎÊÌ⣬queryÊýÌ«¶àÁË¡£ > > > > > Èç¹ûÂÛ̳ÈÕIPÒ»Á½ÍòµÄÈç¹ûÓÃDZÖ®ÀàµÄ Âò¸öÐéÄâ¿Õ¼ä¾ÍÐÐÁË¡£ > > > > > ÎÒÏëÓÃÈç¹ûÊÇdjango×öµÄ»°ÕâÑùµÄ·ÃÎÊÁ¿²»×öcacheµÄ»° Êý¾Ý¿âºÜ¿ÉÄܱ»ÍÏËÀ¡£ > > > > > > > > > > ÎÒÏëdjango¸üÊʺÏ×öÄÚÈÝ·¢²¼Ö®ÀàµÄ¶«Î÷¡£·¢²¼³öÀ´±ä»¯¾Í±È½ÏСÁË cacheÄÜ·¢»Ó±È½Ï´óµÄ×÷Óᣠ> > > > > > > > > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > > > > > > > > > ËäȻĿǰDjangoµÄÓ¦ÓÿªÊ¼¶àÁËÆðÀ´£¬µ«Ïà±ÈPHP¡¢JAVAµÈ»¹²îµÃÌ«Ô¶ÁË¡£ > > > > > > ÏëÒªÕÒ¸öÏֳɵÄÂÛ̳£¬ÓУ¬²»¹ý¹¦ÄÜ»¹ºÜ¼òµ¥£¬Á¬¸½¼þ¹ÜÀí¹¦Äܶ¼Ã»ÓС£ > > > > > > Blog£¬ÓУ¬Ò»ÑùµÄ¼òµ¥£º£¨¡£ > > > > > > ×ÜÖ®ÄÜÕÒµ½µÄ¶«Î÷¶¼ºÜ¼òµ¥¡£ > > > > > > > > > > > > -- > > > > > > Blog http://vicalloy.spaces.live.com/ > > > > > > My googlepage http://vicalloy.googlepages.com/ > > > > > > OldPhoto http://www.lzpian.com/ > > > > > > _______________________________________________ > > > > > > python-chinese > > > > > > Post: send python-chinese在lists.python.cn > > > > > > Subscribe: send subscribe to > > > > > python-chinese-request在lists.python.cn > > > > > > Unsubscribe: send unsubscribe to > > > > > python-chinese-request在lists.python.cn > > > > > > Detail Info: > > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > _______________________________________________ > > > > > python-chinese > > > > > Post: send python-chinese在lists.python.cn > > > > > Subscribe: send subscribe to > > > > > python-chinese-request在lists.python.cn > > > > > Unsubscribe: send unsubscribe to > > > > > python-chinese-request在lists.python.cn > > > > > Detail Info: > > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > -- > > > > Blog http://vicalloy.spaces.live.com/ > > > > My googlepage http://vicalloy.googlepages.com/ > > > > OldPhoto http://www.lzpian.com/ > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese在lists.python.cn > > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > > Unsubscribe: send unsubscribe to > > > > python-chinese-request在lists.python.cn > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > -- > > ÿ¸öÈ˶¼ÓÐһƬÊôÓÚ×Ô¼ºµÄÉÁÖ, ÃÔʧµÄÈËÃÔʧÁË, Ïà·êµÄ»¹»áÔÙÏà·ê... > > Gtalk: iexper(at)gmail.com > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > -- > HD£¨È¼ÉÕÖеĻ𣩠> ÎÒ¹¤×÷ÎÒ¿ìÀÖ£¬ÎÒÇÚ·ÜÎÒÊÕ»ñ¡£ÇëÓëÎÒÒ»Æð¿ìÀÖ£¬ÓëÎÒÒ»ÆðÊÕ»ñ¡£ > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071019/d9fb102c/attachment.html
2007年10月19日 星期五 16:15
ÎÒÊǾõµÃȱÉÙÒ»¸öÀàËÆsmarty»º´æʵÏÖÄÇÖÖµÄ"ƽÃñ»¯"µÄÒ³Ã滺´æ·½°¸¡£ Ö»Òª¿Õ¼ä¹»¾Í¿ÉÒÔ¡£ Memcached¡¢squidÕâЩ¶ÔÓÚʹÓÃÐéÄâ¿Õ¼äµÄÓû§¶¼²»Ì«ÏÖʵ¡£ On 10/19/07, littlesea littlesea <wzhlittlesea在gmail.com> wrote: > > DJANGO»º´æÒ²ÓкܺõĽâ¾ö·½°¸£¬È¥GOOGLEÒ»Ï塃 > > ÔÚ07-10-19£¬HD <hdcola在gmail.com> дµÀ£º > > > > ÎÒûϸÐÄ¿´¹ý£¬µ«ÊÇ×î¼òµ¥µÄ·½·¨¾ÍÊÇ°ÑheaderÖмÓÉÏcache ctl£¬Ç°Ãæ¸ã¸ösquid²»¾Í³ÉÁË :) > > > > ÔÚ07-10-17£¬´óÀÉ < iexper在gmail.com> дµÀ£º > > > > > > ÔÚsmartyÖÐ,ÎÒÃÇ¿´µ½´ó¶àÇëÇóµÄÒ³Ã涼±»Éú³ÉÀàËƾ²Ì¬µÄÒ³ÃæÔÚcacheĿ¼ÏÂ, Ï´ÎÇëÇóÊǶÁÈ¡Õâ¸öÒ³Ãæ > > > > > > ÔÚdjangoÖÐ,ÖÁÉÙûÓÐÕâÑù, ÊÇÓÃÄÚ´æÀ´´æÈ¡µÄ. ËùÒÔÄã°ÑÄÚ´æ¸å´óһЩ°É.:) > > > > > > On 10/17/07, @@ < askfor在gmail.com> wrote: > > > > > > > > ÓÃ×Ô¼ºµÄÖ÷»úµÄºÍÓÃÐéÄâÖ÷»ú×ÔÈ»²»Äܱȡ£ > > > > > > > > ×Ô¼ºµÄÖ÷»ú×ÊÔ´Õ¼ÓÃÂʸߵãÒ²ÎÞËùν£¬µ«ÊÇÐéÄâÖ÷»ú¿Õ¼äÉ̾Ͳ»»á´ðÓ¦ÁË ºÇºÇ¡£ > > > > > > > > > > > > djangoµÄcache_view²»ÖªµÀÔõôʵÏֵģ¬²»ÖªµÀÊDz»ÊǺÍsmartyµÄcache²î²»¶à£¬ ÓÐÕâÑùÒ»¼¶µÄcacheÓ¦¸Ã»áºÃµã£¬ ºÇºÇ¡£ > > > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > > > > > > > ×öÂÛ̳µÄ»°Ó¦µ±Ò²Ã»Õâô¿äÕÅ¡£ > > > > > ¶ÔÓÚ´ó·ÃÎÊÁ¿µÄweb¿Ï¶¨¶¼¶¼ÓÐcacheµÄ¡£ > > > > > JAVAEYEÓÃROR×öµÄ£¬ÐÔÄÜ·½Ã滹¿ÉÒÔ¡£ > > > > > DJANGOĬÈϵÄOR/MAPÓ¦µ±Ã»Õâô²î¡£ > > > > > > > > > > ÔÚ 07-10-17£¬@@< askfor在gmail.com> дµÀ£º > > > > > > ÓÃdjango×öÂÛ̳ ¸ºÔعÀ¼ÆºÜ³ÉÎÊÌ⣬queryÊýÌ«¶àÁË¡£ > > > > > > Èç¹ûÂÛ̳ÈÕIPÒ»Á½ÍòµÄÈç¹ûÓÃDZÖ®ÀàµÄ Âò¸öÐéÄâ¿Õ¼ä¾ÍÐÐÁË¡£ > > > > > > ÎÒÏëÓÃÈç¹ûÊÇdjango×öµÄ»°ÕâÑùµÄ·ÃÎÊÁ¿²»×öcacheµÄ»° Êý¾Ý¿âºÜ¿ÉÄܱ»ÍÏËÀ¡£ > > > > > > > > > > > > ÎÒÏëdjango¸üÊʺÏ×öÄÚÈÝ·¢²¼Ö®ÀàµÄ¶«Î÷¡£·¢²¼³öÀ´±ä»¯¾Í±È½ÏСÁË cacheÄÜ·¢»Ó±È½Ï´óµÄ×÷Óᣠ> > > > > > > > > > > > On 10/17/07, vicalloy < zbirder在gmail.com> wrote: > > > > > > > > > > > > > > ËäȻĿǰDjangoµÄÓ¦ÓÿªÊ¼¶àÁËÆðÀ´£¬µ«Ïà±ÈPHP¡¢JAVAµÈ»¹²îµÃÌ«Ô¶ÁË¡£ > > > > > > > ÏëÒªÕÒ¸öÏֳɵÄÂÛ̳£¬ÓУ¬²»¹ý¹¦ÄÜ»¹ºÜ¼òµ¥£¬Á¬¸½¼þ¹ÜÀí¹¦Äܶ¼Ã»ÓС£ > > > > > > > Blog£¬ÓУ¬Ò»ÑùµÄ¼òµ¥£º£¨¡£ > > > > > > > ×ÜÖ®ÄÜÕÒµ½µÄ¶«Î÷¶¼ºÜ¼òµ¥¡£ > > > > > > > > > > > > > > -- > > > > > > > Blog http://vicalloy.spaces.live.com/ > > > > > > > My googlepage http://vicalloy.googlepages.com/ > > > > > > > OldPhoto http://www.lzpian.com/ > > > > > > > _______________________________________________ > > > > > > > python-chinese > > > > > > > Post: send python-chinese在lists.python.cn > > > > > > > Subscribe: send subscribe to > > > > > > python-chinese-request在lists.python.cn > > > > > > > Unsubscribe: send unsubscribe to > > > > > > python-chinese-request在lists.python.cn > > > > > > > Detail Info: > > > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > python-chinese > > > > > > Post: send python-chinese在lists.python.cn > > > > > > Subscribe: send subscribe to > > > > > > python-chinese-request在lists.python.cn > > > > > > Unsubscribe: send unsubscribe to > > > > > > python-chinese-request在lists.python.cn > > > > > > Detail Info: > > > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > > > > -- > > > > > Blog http://vicalloy.spaces.live.com/ > > > > > My googlepage http://vicalloy.googlepages.com/ > > > > > OldPhoto http://www.lzpian.com/ > > > > > _______________________________________________ > > > > > python-chinese > > > > > Post: send python-chinese在lists.python.cn > > > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > > > > > > > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > > > > > > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese在lists.python.cn > > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > > Unsubscribe: send unsubscribe to > > > > python-chinese-request在lists.python.cn > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > -- > > > ÿ¸öÈ˶¼ÓÐһƬÊôÓÚ×Ô¼ºµÄÉÁÖ, ÃÔʧµÄÈËÃÔʧÁË, Ïà·êµÄ»¹»áÔÙÏà·ê... > > > Gtalk: iexper(at)gmail.com > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > -- > > HD£¨È¼ÉÕÖеĻ𣩠> > ÎÒ¹¤×÷ÎÒ¿ìÀÖ£¬ÎÒÇÚ·ÜÎÒÊÕ»ñ¡£ÇëÓëÎÒÒ»Æð¿ìÀÖ£¬ÓëÎÒÒ»ÆðÊÕ»ñ¡£ > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071019/767e2aea/attachment.html
2007年10月19日 星期五 16:44
django可以cache page阿? On 10/19/07, @@ <askfor在gmail.com> wrote: > 我是觉得缺少一个类似smarty缓存实现那种的"平民化"的页面缓存方案。 只要空间够就可以。 > Memcached、squid这些对于使用虚拟空间的用户都不太现实。 > > > > > On 10/19/07, littlesea littlesea <wzhlittlesea在gmail.com > wrote: > > DJANGO缓存也有很好的解决方案,去GOOGLE一下吧 > > > > > > 在07-10-19,HD <hdcola在gmail.com> 写道: > > > > > > 我没细心看过,但是最简单的方法就是把header中加上cache ctl,前面搞个squid不就成了 :) > > > > > > > > > 在07-10-17,大郎 < iexper在gmail.com> 写道: > > > > > > > > 在smarty中,我们看到大多请求的页面都被生成类似静态的页面在cache目录下, 下次请求是读取这个页面 > > > > > > > > 在django中,至少没有这样, 是用内存来存取的. 所以你把内存稿大一些吧.:) > > > > > > > > > > > > > > > > On 10/17/07, @@ < askfor在gmail.com> wrote: > > > > > > > > > > 用自己的主机的和用虚拟主机自然不能比。 > > > > > > > > > > 自己的主机资源占用率高点也无所谓,但是虚拟主机空间商就不会答应了 呵呵。 > > > > > > > > > > > django的cache_view不知道怎么实现的,不知道是不是和smarty的cache差不多, > 有这样一级的cache应该会好点, 呵呵。 > > > > > > > > > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > > > 做论坛的话应当也没这么夸张。 > > > > > > 对于大访问量的web肯定都都有cache的。 > > > > > > JAVAEYE用ROR做的,性能方面还可以。 > > > > > > DJANGO默认的OR/MAP应当没这么差。 > > > > > > > > > > > > 在 07-10-17,@@< askfor在gmail.com> 写道: > > > > > > > 用django做论坛 负载估计很成问题,query数太多了。 > > > > > > > 如果论坛日IP一两万的如果用DZ之类的 买个虚拟空间就行了。 > > > > > > > 我想用如果是django做的话这样的访问量不做cache的话 数据库很可能被拖死。 > > > > > > > > > > > > > > 我想django更适合做内容发布之类的东西。发布出来变化就比较小了 > cache能发挥比较大的作用。 > > > > > > > > > > > > > > On 10/17/07, vicalloy < zbirder在gmail.com> wrote: > > > > > > > > > > > > > > > > 虽然目前Django的应用开始多了起来,但相比PHP、JAVA等还差得太远了。 > > > > > > > > 想要找个现成的论坛,有,不过功能还很简单,连附件管理功能都没有。 > > > > > > > > Blog,有,一样的简单:(。 > > > > > > > > 总之能找到的东西都很简单。 > > > > > > > > > > > > > > > > -- > > > > > > > > Blog http://vicalloy.spaces.live.com/ > > > > > > > > My googlepage > http://vicalloy.googlepages.com/ > > > > > > > > OldPhoto http://www.lzpian.com/ > > > > > > > > > _______________________________________________ > > > > > > > > python-chinese > > > > > > > > Post: send python-chinese在lists.python.cn > > > > > > > > Subscribe: send subscribe to > > > > > > > python-chinese-request在lists.python.cn > > > > > > > > Unsubscribe: send unsubscribe to > > > > > > > python-chinese-request在lists.python.cn > > > > > > > > Detail Info: > > > > > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > python-chinese > > > > > > > Post: send python-chinese在lists.python.cn > > > > > > > Subscribe: send subscribe to > > > > > > > python-chinese-request在lists.python.cn > > > > > > > Unsubscribe: send unsubscribe to > > > > > > > python-chinese-request在lists.python.cn > > > > > > > Detail Info: > > > > > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Blog http://vicalloy.spaces.live.com/ > > > > > > My googlepage http://vicalloy.googlepages.com/ > > > > > > OldPhoto http://www.lzpian.com/ > > > > > > _______________________________________________ > > > > > > python-chinese > > > > > > Post: send python-chinese在lists.python.cn > > > > > > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > > > > > > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > > > > > > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > _______________________________________________ > > > > > python-chinese > > > > > Post: send python-chinese在lists.python.cn > > > > > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > > > > > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > > > > > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > 每个人都有一片属于自己的森林, 迷失的人迷失了, 相逢的还会再相逢... > > > > Gtalk: iexper(at)gmail.com > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese在lists.python.cn > > > > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > > > > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > > > > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > -- > > > HD(燃烧中的火) > > > 我工作我快乐,我勤奋我收获。请与我一起快乐,与我一起收获。 > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > > > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > -- http://qingfeng.ushared.com/blog/
2007年10月19日 星期五 16:48
ÎÒ¸üÏ£ÍûÊÇÖ±½ÓÉú³ÉÁÙʱµÄhtml £¬renderµÄʱºòÖ±½Ófile open¾ÍÐÐÁË¡£ û±ØÒª¶¼·ÅÄÚ´æÀï°¡¡£ On 10/19/07, Çå·ç <paradise.qingfeng在gmail.com> wrote: > > django¿ÉÒÔcache page°¢£¿ > > On 10/19/07, @@ <askfor在gmail.com> wrote: > > ÎÒÊǾõµÃȱÉÙÒ»¸öÀàËÆsmarty»º´æʵÏÖÄÇÖÖµÄ"ƽÃñ»¯"µÄÒ³Ã滺´æ·½°¸¡£ Ö»Òª¿Õ¼ä¹»¾Í¿ÉÒÔ¡£ > > Memcached¡¢squidÕâЩ¶ÔÓÚʹÓÃÐéÄâ¿Õ¼äµÄÓû§¶¼²»Ì«ÏÖʵ¡£ > > > > > > > > > > On 10/19/07, littlesea littlesea <wzhlittlesea在gmail.com > wrote: > > > DJANGO»º´æÒ²ÓкܺõĽâ¾ö·½°¸£¬È¥GOOGLEÒ»Ï塃 > > > > > > > > > ÔÚ07-10-19£¬HD <hdcola在gmail.com> дµÀ£º > > > > > > > > ÎÒûϸÐÄ¿´¹ý£¬µ«ÊÇ×î¼òµ¥µÄ·½·¨¾ÍÊÇ°ÑheaderÖмÓÉÏcache ctl£¬Ç°Ãæ¸ã¸ösquid²»¾Í³ÉÁË :) > > > > > > > > > > > > ÔÚ07-10-17£¬´óÀÉ < iexper在gmail.com> дµÀ£º > > > > > > > > > > ÔÚsmartyÖÐ,ÎÒÃÇ¿´µ½´ó¶àÇëÇóµÄÒ³Ã涼±»Éú³ÉÀàËƾ²Ì¬µÄÒ³ÃæÔÚcacheĿ¼ÏÂ, Ï´ÎÇëÇóÊǶÁÈ¡Õâ¸öÒ³Ãæ > > > > > > > > > > ÔÚdjangoÖÐ,ÖÁÉÙûÓÐÕâÑù, ÊÇÓÃÄÚ´æÀ´´æÈ¡µÄ. ËùÒÔÄã°ÑÄÚ´æ¸å´óһЩ°É.:) > > > > > > > > > > > > > > > > > > > > On 10/17/07, @@ < askfor在gmail.com> wrote: > > > > > > > > > > > > ÓÃ×Ô¼ºµÄÖ÷»úµÄºÍÓÃÐéÄâÖ÷»ú×ÔÈ»²»Äܱȡ£ > > > > > > > > > > > > ×Ô¼ºµÄÖ÷»ú×ÊÔ´Õ¼ÓÃÂʸߵãÒ²ÎÞËùν£¬µ«ÊÇÐéÄâÖ÷»ú¿Õ¼äÉ̾Ͳ»»á´ðÓ¦ÁË ºÇºÇ¡£ > > > > > > > > > > > > > > djangoµÄcache_view²»ÖªµÀÔõôʵÏֵģ¬²»ÖªµÀÊDz»ÊǺÍsmartyµÄcache²î²»¶à£¬ > > ÓÐÕâÑùÒ»¼¶µÄcacheÓ¦¸Ã»áºÃµã£¬ ºÇºÇ¡£ > > > > > > > > > > > > On 10/17/07, vicalloy <zbirder在gmail.com> wrote: > > > > > > > ×öÂÛ̳µÄ»°Ó¦µ±Ò²Ã»Õâô¿äÕÅ¡£ > > > > > > > ¶ÔÓÚ´ó·ÃÎÊÁ¿µÄweb¿Ï¶¨¶¼¶¼ÓÐcacheµÄ¡£ > > > > > > > JAVAEYEÓÃROR×öµÄ£¬ÐÔÄÜ·½Ã滹¿ÉÒÔ¡£ > > > > > > > DJANGOĬÈϵÄOR/MAPÓ¦µ±Ã»Õâô²î¡£ > > > > > > > > > > > > > > ÔÚ 07-10-17£¬@@< askfor在gmail.com> дµÀ£º > > > > > > > > ÓÃdjango×öÂÛ̳ ¸ºÔعÀ¼ÆºÜ³ÉÎÊÌ⣬queryÊýÌ«¶àÁË¡£ > > > > > > > > Èç¹ûÂÛ̳ÈÕIPÒ»Á½ÍòµÄÈç¹ûÓÃDZÖ®ÀàµÄ Âò¸öÐéÄâ¿Õ¼ä¾ÍÐÐÁË¡£ > > > > > > > > ÎÒÏëÓÃÈç¹ûÊÇdjango×öµÄ»°ÕâÑùµÄ·ÃÎÊÁ¿²»×öcacheµÄ»° Êý¾Ý¿âºÜ¿ÉÄܱ»ÍÏËÀ¡£ > > > > > > > > > > > > > > > > ÎÒÏëdjango¸üÊʺÏ×öÄÚÈÝ·¢²¼Ö®ÀàµÄ¶«Î÷¡£·¢²¼³öÀ´±ä»¯¾Í±È½ÏСÁË > > cacheÄÜ·¢»Ó±È½Ï´óµÄ×÷Óᣠ> > > > > > > > > > > > > > > > On 10/17/07, vicalloy < zbirder在gmail.com> wrote: > > > > > > > > > > > > > > > > > > ËäȻĿǰDjangoµÄÓ¦ÓÿªÊ¼¶àÁËÆðÀ´£¬µ«Ïà±ÈPHP¡¢JAVAµÈ»¹²îµÃÌ«Ô¶ÁË¡£ > > > > > > > > > ÏëÒªÕÒ¸öÏֳɵÄÂÛ̳£¬ÓУ¬²»¹ý¹¦ÄÜ»¹ºÜ¼òµ¥£¬Á¬¸½¼þ¹ÜÀí¹¦Äܶ¼Ã»ÓС£ > > > > > > > > > Blog£¬ÓУ¬Ò»ÑùµÄ¼òµ¥£º£¨¡£ > > > > > > > > > ×ÜÖ®ÄÜÕÒµ½µÄ¶«Î÷¶¼ºÜ¼òµ¥¡£ > > > > > > > > > > > > > > > > > > -- > > > > > > > > > Blog http://vicalloy.spaces.live.com/ > > > > > > > > > My googlepage > > http://vicalloy.googlepages.com/ > > > > > > > > > OldPhoto http://www.lzpian.com/ > > > > > > > > > > > _______________________________________________ > > > > > > > > > python-chinese > > > > > > > > > Post: send python-chinese在lists.python.cn > > > > > > > > > Subscribe: send subscribe to > > > > > > > > python-chinese-request在lists.python.cn > > > > > > > > > Unsubscribe: send unsubscribe to > > > > > > > > python-chinese-request在lists.python.cn > > > > > > > > > Detail Info: > > > > > > > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > python-chinese > > > > > > > > Post: send python-chinese在lists.python.cn > > > > > > > > Subscribe: send subscribe to > > > > > > > > python-chinese-request在lists.python.cn > > > > > > > > Unsubscribe: send unsubscribe to > > > > > > > > python-chinese-request在lists.python.cn > > > > > > > > Detail Info: > > > > > > > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Blog http://vicalloy.spaces.live.com/ > > > > > > > My googlepage http://vicalloy.googlepages.com/ > > > > > > > OldPhoto http://www.lzpian.com/ > > > > > > > _______________________________________________ > > > > > > > python-chinese > > > > > > > Post: send python-chinese在lists.python.cn > > > > > > > Subscribe: send subscribe to > > python-chinese-request在lists.python.cn > > > > > > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > > > > > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > python-chinese > > > > > > Post: send python-chinese在lists.python.cn > > > > > > Subscribe: send subscribe to > > python-chinese-request在lists.python.cn > > > > > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > > > > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > ÿ¸öÈ˶¼ÓÐһƬÊôÓÚ×Ô¼ºµÄÉÁÖ, ÃÔʧµÄÈËÃÔʧÁË, Ïà·êµÄ»¹»áÔÙÏà·ê... > > > > > Gtalk: iexper(at)gmail.com > > > > > _______________________________________________ > > > > > python-chinese > > > > > Post: send python-chinese在lists.python.cn > > > > > Subscribe: send subscribe to > > python-chinese-request在lists.python.cn > > > > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > > > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > > > > > > > > -- > > > > HD£¨È¼ÉÕÖеĻ𣩠> > > > ÎÒ¹¤×÷ÎÒ¿ìÀÖ£¬ÎÒÇÚ·ÜÎÒÊÕ»ñ¡£ÇëÓëÎÒÒ»Æð¿ìÀÖ£¬ÓëÎÒÒ»ÆðÊÕ»ñ¡£ > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese在lists.python.cn > > > > Subscribe: send subscribe to > > python-chinese-request在lists.python.cn > > > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to > > python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to > > python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > -- > http://qingfeng.ushared.com/blog/ > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071019/7f6d3477/attachment.htm
2007年10月19日 星期五 17:19
除非是和一些CMS一样,网页的内容N年不变,不然是没有必要的。 一个网站真正高浏览量的页面页就那几张,cache这点东西花不了多少内存。 对于一般的应用内存cache就够了。 在 07-10-19,@@<askfor在gmail.com> 写道: > 我更希望是直接生成临时的html ,render的时候直接file open就行了。 > 没必要都放内存里啊。
2007年10月19日 星期五 17:33
ÎÒ¾õµÃÕâ¸ö²»Äܸù¾ÝÍøÒ³ÀàÈݱ䲻±äÀ´¿´¡£ ¸ù¾Ýä¯ÀÀ´ÎÊýºÍÐ޸ĴÎÊýµÄ±ÈÀýÀ´¿´¸üºÃ£¬¾Í±ÈÈçÂÛ̳£¬Èç¹ûÿ¸öÈË·¢Ìù¶¼ºÜ»îÔ¾ÄÇȷʵû±ØÒª£¬µ«Èç¹ûÊÇ·¢ÌùºÜ»îÔ¾£¬µ«ÊÇDZˮµÄÓû§Á¿Ò²ºÜ´ó£¬ÄÇô»º´æÕâ¸ö×öµÄÎļþIOÒ²ÖµµÃ On 10/19/07, vicalloy <zbirder在gmail.com> wrote: > > ³ý·ÇÊǺÍһЩCMSÒ»Ñù£¬ÍøÒ³µÄÄÚÈÝNÄê²»±ä£¬²»È»ÊÇûÓбØÒªµÄ¡£ > Ò»¸öÍøÕ¾ÕæÕý¸ßä¯ÀÀÁ¿µÄÒ³ÃæÒ³¾ÍÄǼ¸ÕÅ£¬cacheÕâµã¶«Î÷»¨²»Á˶àÉÙÄÚ´æ¡£ > ¶ÔÓÚÒ»°ãµÄÓ¦ÓÃÄÚ´æcache¾Í¹»ÁË¡£ > > ÔÚ 07-10-19£¬@@<askfor在gmail.com> дµÀ£º > > ÎÒ¸üÏ£ÍûÊÇÖ±½ÓÉú³ÉÁÙʱµÄhtml £¬renderµÄʱºòÖ±½Ófile open¾ÍÐÐÁË¡£ > > û±ØÒª¶¼·ÅÄÚ´æÀï°¡¡£ > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071019/514aed24/attachment.html
2007年10月19日 星期五 17:44
目前有些论坛就是这样做的,比如天涯(所以有一定的延时)。 我说的是通常情况,如果网站的流量真的到了一定的程度,那就需要另外考虑。 对于一个论坛而言,刷新最快的页就第一版的那些帖子。 这些帖子放到内存中完全是可以接受的。 在 07-10-19,@@<askfor在gmail.com> 写道: > 我觉得这个不能根据网页类容变不变来看。 > 根据浏览次数和修改次数的比例来看更好,就比如论坛,如果每个人发贴都很活跃那确实没必要,但如果是发贴很活跃,但是潜水的用户量也很大,那么缓存这个做的文件IO也值得
2007年10月19日 星期五 17:51
On 10/19/07, @@ <askfor在gmail.com> wrote: > 我更希望是直接生成临时的html ,render的时候直接file open就行了。 > 没必要都放内存里啊。 > django支持file方式的缓存,就是你想要的. -- I like python! UliPad <>: http://code.google.com/p/ulipad/ meide < >: http://code.google.com/p/meide/ My Blog: http://www.donews.net/limodou
2007年10月19日 星期五 17:57
ÎÒÊÇÕâÑù¾õµÃµÄ£º ÓеÄÇé¿öÓÃÄÚ´æ×öcacheȷʵ±ÈÓÃÎļþºÃ£¬µ«ÊÇÓÃÎļþÒ²²»ÊDz»ÄܽÓÊÜ¡£ µ«ÊÇ»¹ÓÐһЩÇé¿öÎÒÊÇÐèÒªÓÃÎļþÀ´×öcache£¬µ«ÊÇÕâʱÓÃÄÚ´æÀ´cacheµÄ»°ÎÒÊDz»ÄܽÓÊܵġ£ ËùÒÔ×ÛºÏÆðÀ´ËµÌṩһ¸öÕâÑùµÄcache·½·¨»¹ÊÇÖµµÃµÄ¡£ On 10/19/07, vicalloy <zbirder在gmail.com> wrote: > > Ä¿Ç°ÓÐЩÂÛ̳¾ÍÊÇÕâÑù×öµÄ£¬±ÈÈçÌìÑÄ£¨ËùÒÔÓÐÒ»¶¨µÄÑÓʱ£©¡£ > ÎÒ˵µÄÊÇͨ³£Çé¿ö£¬Èç¹ûÍøÕ¾µÄÁ÷Á¿ÕæµÄµ½ÁËÒ»¶¨µÄ³Ì¶È£¬ÄǾÍÐèÒªÁíÍ⿼ÂÇ¡£ > ¶ÔÓÚÒ»¸öÂÛ̳¶øÑÔ£¬Ë¢ÐÂ×î¿ìµÄÒ³¾ÍµÚÒ»°æµÄÄÇЩÌû×Ó¡£ > ÕâЩÌû×ӷŵ½ÄÚ´æÖÐÍêÈ«ÊÇ¿ÉÒÔ½ÓÊܵġ£ > > ÔÚ 07-10-19£¬@@<askfor在gmail.com> дµÀ£º > > ÎÒ¾õµÃÕâ¸ö²»Äܸù¾ÝÍøÒ³ÀàÈݱ䲻±äÀ´¿´¡£ > > > ¸ù¾Ýä¯ÀÀ´ÎÊýºÍÐ޸ĴÎÊýµÄ±ÈÀýÀ´¿´¸üºÃ£¬¾Í±ÈÈçÂÛ̳£¬Èç¹ûÿ¸öÈË·¢Ìù¶¼ºÜ»îÔ¾ÄÇȷʵû±ØÒª£¬µ«Èç¹ûÊÇ·¢ÌùºÜ»îÔ¾£¬µ«ÊÇDZˮµÄÓû§Á¿Ò²ºÜ´ó£¬ÄÇô»º´æÕâ¸ö×öµÄÎļþIOÒ²ÖµµÃ > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071019/d7236309/attachment.htm
Zeuux © 2025
京ICP备05028076号