12 2018 档案

摘要:def upload(request): return render(request, 'upload.html') def upload_file(request): username = request.POST.get('username') fafafa = request.FILES.ge 阅读全文
posted @ 2018-12-27 13:33 酷酷的狐狸 阅读(5786) 评论(0) 推荐(0) 编辑
摘要:location ~.*\.(js|css|html|png|jpg|gif)$ { expires 3d; } expires 3d; //表示缓存3天 expires 3h; //表示缓存3小时 expires max; //表示缓存10年 expires -1; //表示永远过期。 如果设置为 阅读全文
posted @ 2018-12-04 17:50 酷酷的狐狸 阅读(3910) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示