10 2017 档案
摘要:Nginx简介 Nginx是一个开源且高性能、可靠的HTTP中间件、代理服务。其特点是占有内存少,并发能力强。 Nginx优势:IO多路复用epoll 1、什么是IO复用 它是内核提供的一种同时监控多个文件描述符状态改变的一种能力;例如当进程需要操作多个IO相关描述符时(例如服务器程序要同时查看监听
阅读全文
摘要:GitHub:https://github.com/python-social-auth/social-app-django 官网文档:http://python-social-auth.readthedocs.io/en/latest/ 安装 生成数据库表 settings配置 D:\Python
阅读全文
摘要:官方文档:http://www.django-rest-framework.org/api-guide/throttling/#throttling settings.py配置 AnonRateThrottle:用户未登录请求限速,通过IP地址判断 UserRateThrottle:用户登陆后请求限
阅读全文
摘要:GitHub:https://github.com/niwinz/django-redis 官网文档:http://django-redis-chs.readthedocs.io/zh_CN/latest/ 安装:pip install django-redis 使用 1、settings.py配置
阅读全文
摘要:GitHub:https://github.com/chibisov/drf-extensions 官方文档:http://chibisov.github.io/drf-extensions/docs/ 安装 cache用法 1、使用 2、设置过期时间,配置在settings.py
阅读全文
摘要:官网文档:http://getblimp.github.io/django-rest-framework-jwt/ GitHub:https://github.com/GetBlimp/django-rest-framework-jwt 结合django-rest-framework使用,用于支持j
阅读全文
摘要:在线静态文件CDN https://www.staticfile.org/ Cmder windows系统下使用Linux命令 官网:http://cmder.net/ MobaXterm 操作远端服务器 官网:https://mobaxterm.mobatek.net/ FireFox插件Http
阅读全文
摘要:使用django-cors-headers模块 github:https://github.com/ottoyiu/django-cors-headers 官方文档中有详细说明 简要配置 1、安装 2、settings.py文件配置
阅读全文