Hexo: 本地预览与线上结果不一样问题

Created on 22 Aug 2014  ·  7Comments  ·  Source: hexojs/hexo

我在本地修改了博客主题的某些地方,在本地预览的时候都是可以的,但是更新到github以后就不行了,主要有两个地方的问题:
1.我修改了收藏夹图标,替换掉了主题原有的收藏夹图标,本地预览正常,github上的文件目录显示的也是我更改后的图标,但是在网页标题栏上显示的还是原来的。
2.更改了某个链接,让链接在新窗口打开,本地也是行的,但是线上就不行,查看了线上的源码,有"_blank"属性,但是不能在新窗口打开。
====
我在本地执行了hexo clean,也删除了db.json但是都不行,求助~~

Most helpful comment

目测浏览器缓存,Ctrl+F5强制刷新一般就OK。

要是问题解决了就把issues关了吧~

All 7 comments

Try to browse the page with Incognito mode or clean the browser cache.

@timnew 解决了,是缓存问题,但不知道是哪里的缓存的造成的

目测浏览器缓存,Ctrl+F5强制刷新一般就OK。

要是问题解决了就把issues关了吧~

:-1: :-1: :-1: @tudouya Close it!!!

@tudouya ,我也遇到同样的问题。解决办法:
执行 hexo clean 后再部署就好了。就是缓存问题。

真的是缓存问题,一用ctrl+f5解决,谢谢

可以的!多谢!ctr+F5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

demurgos picture demurgos  ·  3Comments

ghost picture ghost  ·  3Comments

yunTerry picture yunTerry  ·  3Comments

netcan picture netcan  ·  3Comments

19uni94 picture 19uni94  ·  3Comments