Skip to content
This repository has been archived by the owner on Dec 30, 2018. It is now read-only.

几个问题 #53

Open
iuphero opened this issue Jun 3, 2014 · 1 comment
Open

几个问题 #53

iuphero opened this issue Jun 3, 2014 · 1 comment

Comments

@iuphero
Copy link

iuphero commented Jun 3, 2014

缓存清除

请问如何清除缓存,例如图片缓存.例如我把logo图片换掉了,但是缓存还在,显示不正确,请问如何清除?

css,js资源路经

为什么我把资源路经改为本地的,就不起作用了?例如
把以下的改动

    <link rel="stylesheet" href="http://cdn.angularjs.cn/{{_css/jsgen.min.css_}}">
    <link rel="stylesheet" href="http://cdn.angularjs.cn/{{_css/font-awesome.min.css_}}">

改为如下的,就提升找不到

    <link rel="stylesheet" href="/static/src/css/jsgen.min.css">
@iuphero iuphero changed the title 请问如何清除缓存 几个问题 Jun 3, 2014
@zensh
Copy link
Owner

zensh commented Jun 3, 2014

缓存需要在浏览器中清除。

有两种运行模式:正常模式,从static/src/读取文件,开发模式:node app.js --dev,才会从src目录读取文件

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants