Jekyll
http://jekyllrb.com/
Jekyll on GitHub
https://github.com/mojombo/jekyll
Jekyll-bootstrap
http://jekyllbootstrap.com/
Octopress
http://octopress.org/
jinyue524
V2EX  ›  Jekyll

关于使用Octopress在Github上建博客的小问题

  •  
  •   jinyue524 · Apr 18, 2012 · 5002 views
    This topic created in 5142 days ago, the information mentioned may be changed or developed.
    每次更新博客的内容以后再deploy到github上面去,倒是很快生效了。

    但是每次登陆上去“实地考察”的时候发现我必须要用浏览器“刷新”一下才能看到更新的内容。

    不但我觉得很麻烦,而且要是有某个朋友不小心走到了本人的博客中,如果没有手动刷新会发现里面的内容万年都没有变化,怎么办?

    另外我发现貌似每次登陆github以上,打开的页面是保存在电脑中的缓存里面的。

    请教有没有知道的朋友能指点一下?
    12 replies    1970-01-01 08:00:00 +08:00
    9hills
        1
    9hills  
       Apr 18, 2012
    缓存会过期的。。。不会万年不变。另外这个和github无关,所有的网站都这样…
    jinyue524
        2
    jinyue524  
    OP
       Apr 18, 2012
    @9hills 请问大概多久呢?
    9hills
        3
    9hills  
       Apr 18, 2012
    和v2ex一样久 @jinyue524
    你会不会觉得v2ex的主页万年不变呢
    9hills
        4
    9hills  
       Apr 18, 2012
    你朋友总不能打开你的blog然后再也不关吧………下次页面刷新的时候就会变的
    cloverstd
        5
    cloverstd  
       Apr 18, 2012 via Android
    我也觉得github的缓存比其它久一些,总要强制刷新才行
    jinyue524
        6
    jinyue524  
    OP
       Apr 18, 2012
    @9hills 这样啊,可是我觉得github的缓存可以保持24小时...
    jinyue524
        7
    jinyue524  
    OP
       Apr 18, 2012
    @cloverstd 同理,有一次等了一天都没有自动刷新..
    chendeshen
        8
    chendeshen  
       May 3, 2012
    有人试过deploy没变化吗?等很久github都好像没变化...
    jinyue524
        9
    jinyue524  
    OP
       May 3, 2012
    @cloverstd @chendeshen 目前有一个解决之道,看我的博客http://zhqm.info/blog/octopressde-you-hua-pei-zhi/
    cloverstd
        10
    cloverstd  
       May 3, 2012   ❤️ 1
    @jinyue524 换到Herku?
    jinyue524
        11
    jinyue524  
    OP
       May 3, 2012
    @cloverstd 是的,我的博客现在提交了以后可以在三分钟内变化。
    cloverstd
        12
    cloverstd  
       May 3, 2012
    @jinyue524 我还是想放在 vps 吧,就是环境配置麻烦点
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1355 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 17:00 · PVG 01:00 · LAX 10:00 · JFK 13:00
    ♥ Do have faith in what you're doing.