Created
November 5, 2012 14:37
-
-
Save aaronj1335/4017494 to your computer and use it in GitHub Desktop.
uwsgi caching issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uwsgi: | |
http-socket: 0.0.0.0:8001 | |
master: true | |
processes: 1 | |
module: spire.runtime.uwsgi | |
static-map: /static=static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /static/components/lookandfeel/daft.css HTTP/1.1 | |
Host: localhost:8001 | |
Connection: keep-alive | |
Cache-Control: max-age=0 | |
If-Modified-Since: Mon, 05 Nov 2012 13:41:43 GMT | |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.18 (KHTML, like Gecko) Chrome/25.0.1317.0 Safari/537.18 | |
Accept: */* | |
Referer: http://localhost:8001/infoset/00000000-0000-0000-0000-000000000000/filter | |
Accept-Encoding: gzip,deflate,sdch | |
Accept-Language: en-US,en;q=0.8 | |
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 | |
Cookie: sessionid=bddc9acfa39149128a35b4d7517814ed62d55c36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 304 Not Modified | |
Cache-Control: must-revalidate, no-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
§ stat -x static/components/lookandfeel/daft.css | |
File: "static/components/lookandfeel/daft.css" | |
Size: 25494 FileType: Regular File | |
Mode: (0644/-rw-r--r--) Uid: ( 501/ astacy) Gid: ( 20/ staff) | |
Device: 1,4 Inode: 10134828 Links: 1 | |
Access: Mon Nov 5 08:23:16 2012 | |
Modify: Mon Nov 5 08:11:22 2012 | |
Change: Mon Nov 5 08:11:22 2012 | |
§ date | |
Mon Nov 5 08:36:47 CST 2012 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uwsgi --virtualenv .virtualenv \ | |
--touch-reload daft.astacy.yaml \ | |
--touch-reload daft/__init__.py \ | |
--touch-reload daft/context_processors.py \ | |
--touch-reload daft/urls.py \ | |
--touch-reload daft/views.py \ | |
--touch-reload node_modules/siq-lookandfeel/strings.yaml \ | |
--add-header Cache-Control: must-revalidate, no-cache \ | |
--static-map /static/components/auxl=/Users/astacy/work/auxl/src \ | |
--static-map /static/components/bedrock=/Users/astacy/work/bedrockjs/src \ | |
--static-map /static/components/csi=/Users/astacy/work/csi/src \ | |
--static-map /static/components/daft=/Users/astacy/work/daft/src \ | |
--static-map /static/components/dax=/Users/astacy/work/dax/src \ | |
--static-map /static/components/gloss=/Users/astacy/work/gloss/src \ | |
--static-map /static/components/lookandfeel=/Users/astacy/work/lookandfeel/src \ | |
--static-map /static/components/mesh=/Users/astacy/work/mesh/js \ | |
--static-map /static/components/vendor=/Users/astacy/work/vendorjs/src \ | |
--mime-file /Users/astacy/code/siq/bin/../etc/mime.types \ | |
--workers 2 \ | |
--yaml daft.astacy.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment