css代码改完了,但是查看网页源代码css的内容还是很久之前的,根本没有更新

解决方法:

1.浏览器缓存。使用ctrl+F5刷新一下页面

2.

3.
from datetime import timedelta

# 设置静态文件缓存过期时间
app.config['SEND_FILE_MAX_AGE_DEFAULT'] = timedelta(seconds=1)
也可以这样写:
app.send_file_max_age_default = timedelta(seconds=1)


 

最新文章

  1. 《JavaScript 源码分析》之 jquery.unobtrusive-ajax.js
  2. John the ripper使用教程
  3. redis基础总结
  4. echo, print, print_r
  5. SecureCRT的安装
  6. angularjs 手动加载
  7. struts2:拦截器
  8. 西川善司【神秘海域(Uncharted)】的图形分析
  9. Angularjs之controller 和filter(四)
  10. AngularJS 1.5.0-beta.2 and 1.4.8 have been released
  11. iOS 跑马灯 之 TXScrollLabelView
  12. 自己写的sql server触发器练练--高手请您跳过吧
  13. DELPHI SOKET 编程(使用TServerSocket和TClientSocket)
  14. linux的学习系列 5--环境变量
  15. 动态添加删除网卡 - 每天5分钟玩转 OpenStack(156)
  16. ubuntu下eclipse新建项目没有java project的解决办法
  17. Steeltoe之Distributed Tracing篇
  18. ASLP Kaldi
  19. 使用 BeautifulSoup 进行解析 html
  20. PHP二维数组如何根据某个字段排序

热门文章

  1. Spring-security整理
  2. KVC解析
  3. 使用jxl操作之一: 实现对Excel简单读写操作
  4. Ajax 请求参数过多导致 400 错误 and BCryptPasswordEncoder 加密判断
  5. CIA Hive Beacon Infrastructure复现1——使用Apache mod_rewrite实现http流量分发
  6. OS Summary 1
  7. java MVC 自定义类型转换器(Formatter、AnnotationFormatterFactory)
  8. OSCache使用指南
  9. JS截取字符串方法集合
  10. spring基于@Value绑定属Bean性失