redirect_to :future #思维驱动 » Blog Archive » Rails Cache + SSI 再 续。

Rails Cache + SSI 再 续。

写完”Rails Cache + SSI 续。”后老是感到很不好意思(虽然没几个人看我的博客),其实那天我想到了很多的办法,不过最后写了一个最差的..为的是展示一下ruby的某些特性.

其实lighttp处理rails cache第一次不能解析include指令的问题是因为lighttpd 1.4不处理fastcgi,proxy的返回数据.
1.5有response filter以及新的mod_proxy了(没测试过ssi的问题,不知道是否可用).不过前几个月我花了1整个晚上时间吧1.4的conf改到1.5跑了几天.不过似乎这个版本没发布正式版还很不稳定程序老是退出,又改回1.4了.(哦.最近访问量增大lighttp 1.4也老是退出,其实也不是很多访问了.看awstats的统计一天就100G的数据传输).

其实解决cache+ssi的最简单的方法就是换服务器吧.apache没试过.不过我的服务器跑apache还真是跑不动,preforker什么的都不行,太慢,太占资源了…

用nginx吧.最近这个很火,说是最好的rails应用部署组合了.

在我的开发机器上测试了cache+ssi,完美通过.正式环境还没改,如果lighttpd还是老掉的话就换上去看看了.

国庆这几天测试cache+ssi的时候顺便完成了mini-cms,啊,感觉真好.其实这种东西更多的是看解决方法了.认真看了cache和routes的api文档的每一个字节后找到的解决办法让我自己都觉得”太美妙了”呵呵..建测试站ing…..

很久没写,废话很多还带上吹牛..

看完啦?再看看我们最近的10条记录对您是否有用呢?

要不,再找找其它内容:




或者给我们留下些意见、建议,这将给我们莫大的鼓励,促使我们做得更好。

30 Responses to “Rails Cache + SSI 再 续。”

  1. TipRanks מערכת מסחר Says:

    557689 108581Nice to be visiting your blog once much more, it continues to be months for me. Nicely this post that ive been waited for so lengthy. I want this write-up to total my assignment within the university, and it has exact same topic together together with your post. Thanks, terrific share. 51675

  2. NeilStephensgetfit Says:

    8650 589204Awesome read , Im going to spend far more time researching this topic 511001

  3. Stick squad 4 Unblockedhttps://sites.google.com/site/unblockedgames333/potty-racers-4#potty racers 4 Unblockedhttps://sites.google.com/site/unblockedgames333/unfair-mario-unblocked#unfair mariohttps://sites.google.com/site/unblockedgames333/strike-force-h Says:

    15776 297679This write-up is dedicated to all those that know what is billiard table; to all those that do not know what is pool table; to all those that want to know what is billiards; 181677

  4. Stick squad 4 Unblocked Says:

    849750 952809I really like the appear of your internet site. I lately built mine and I was seeking for some concepts for my internet site and you gave me some. Could I ask you whether you developed the internet site by youself? 117133

  5. likri.com Says:

    316274 948639Wonderful post, I feel internet site owners really should acquire a good deal from this internet internet site its quite user pleasant. 428516

  6. Erholsamer Schlaf Says:

    182887 94013This internet page is often a walk-through its the internet you wanted about this and didnt know who to question. Glimpse here, and you will definitely discover it. 397140

  7. property investment in Dubai Says:

    477335 386340Quite intriguing topic , regards for putting up. 3006

  8. property for rent in Dubai Says:

    981102 676063Hey, you used to write amazing, but the last several posts have been kinda boring I miss your tremendous writings. Past couple of posts are just slightly bit out of track! come on! 77574

  9. cal green Says:

    374521 906367Nice to be visiting your blog once more, it continues to be months for me. Nicely this post that ive been waited for so lengthy. I want this article to total my assignment in the university, and it has same topic together with your post. Thanks, terrific share. 965746

  10. Property for sale in Dubai Says:

    429797 107609Spot on with this write-up, I really assume this website wants way more consideration. Ill probably be once more to read far more, thanks for that info. 286878

  11. cheapest apartment in Dubai for rent Says:

    764366 375788Why didnt I think about this? I hear exactly what youre saying and Im so happy that I came across your blog. You really know what youre talking about, and you made me feel like I should learn more about this. Thanks for this; Im officially a huge fan of your blog 293259

  12. Property for sale in Dubai Says:

    904997 177914Hey this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. Im starting a blog soon but have no coding experience so I wanted to get advice from someone with experience. Any help would be greatly appreciated! 480249

  13. Property for sale in Dubai Says:

    747130 60320Precisely what I was searching for, thankyou for putting up. 984668

  14. property for rent in Dubai Says:

    572197 417088Hello there! I could have sworn Ive been to this blog before but following checking via some of the post I realized its new to me. Anyhow, Im certainly glad I discovered it and Ill be bookmarking and checking back often! 715792

  15. property investment in Dubai Says:

    600979 262000An intriguing discussion will probably be worth comment. I feel which you basically write considerably far more about this subject, it may possibly become a taboo topic but normally consumers are inadequate to communicate in on such topics. To one more. Cheers 735751

  16. property for rent in Dubai Says:

    985421 212263I want to thank you for the superb post!! I undoubtedly liked every bit of it. Ive bookmarked your internet web site so I can take a appear at the latest articles you post later on. 903315

  17. cheapest apartment in Dubai for rent Says:

    698988 728103I was suggested this web site by my cousin. Im not certain whether this post is written by him as no one else know such detailed about my trouble. Youre fantastic! Thanks! xrumer 237541

  18. cheapest apartment in Dubai for rent Says:

    271709 820373Black Ops Zombies is now available […]Take a look here[…] 40772

  19. Property for sale in Dubai Says:

    735970 942725Oh my goodness! an incredible article dude. Thank you Nonetheless Im experiencing challenge with ur rss . Don know why Unable to subscribe to it. Is there anyone getting similar rss drawback? Anybody who knows kindly respond. Thnkx 829895

  20. Nutrabio pre, Nutrabio pre extreme, Nutrabio pre extreme review,Nutrabio pre extreme unflavored,nutrabio pre extreme v3, nutrabio pre review, nutrabio pre stimulant free, nutrabio pre supplement review, nutrabio pre v3, nutrabio pre v3 review, nutrabio pr Says:

    898532 869202you can have a wonderful weblog here! would you wish to make some invite posts on my weblog? 238010

  21. Nutrabio pre, Nutrabio pre extreme, Nutrabio pre extreme review,Nutrabio pre extreme unflavored,nutrabio pre extreme v3, nutrabio pre review, nutrabio pre stimulant free, nutrabio pre supplement review, nutrabio pre v3, nutrabio pre v3 review, nutrabio pr Says:

    48468 610814Some truly good stuff on this internet site , I like it. 808212

  22. property investment in Dubai Says: