494 reputation
517
bio website nuovolabs.com
location Jupiter, FL
age
visits member for 4 years, 9 months
seen Oct 14 at 2:19

I am a Python / Django developer. I specialize in developing SAAS applications using Django. My language of choice is Python, but I am sometimes forced to use English.


May
14
comment Understanding networking in a web hosting environment
@fukawi2 the later is true (active / backup) and failure of will be performed manually (for now, some day we'll set up automatic failover)
May
14
accepted Using rsync to copy files from one server to another, pertaining users and permissions
May
14
asked Understanding networking in a web hosting environment
May
13
comment Using rsync to copy files from one server to another, pertaining users and permissions
@fukawi2 - excellent, thanks! SvW - thank you, as well.
May
12
comment Using rsync to copy files from one server to another, pertaining users and permissions
Thanks, I'll do that, at least for initial testing purposes.
May
12
comment Using rsync to copy files from one server to another, pertaining users and permissions
Ah, thanks. Is there a common pattern that's used to prevent problems like this, such as manually assigning numeric IDs to users upon creation, or something else? I would hate for this to accidentally work just because I happened to create the users in the same order or something to that effect.
May
12
asked Using rsync to copy files from one server to another, pertaining users and permissions
Apr
26
accepted How can I solve the “split brain” issue with only 2 physical servers?
Apr
26
comment How can I solve the “split brain” issue with only 2 physical servers?
Thanks. BTW, what happens if I touch the trigger file in the slave machine when the master is still fine and dandy? Does a Postgres master know how to yield control like that or does the slave just know how to become a master and everything else is up to you?
Apr
25
asked How can I solve the “split brain” issue with only 2 physical servers?
Jan
9
comment How can I get Nginx to tell Firefox to cache my content?
See comments on cnst's answer below. "Web Developer" was disabling all cache.
Jan
9
comment How can I get Nginx to tell Firefox to cache my content?
So... it appears that the "Web Developer" plugin for Firefox actually disables caching altogether, for whatever reason :/ thanks so much for your continued comments, which are what lead me to search for the correct thing and find that.
Jan
8
comment How can I get Nginx to tell Firefox to cache my content?
I can tell because A) there is no If-Modified-Since header sent ("Live HTTP Headers" plugin), B) the response headers are 200, and C) the time it takes to receive each response is on par with how large the file is (e.g., a 500k file takes 3-5 times as long as a 100k file to finish, which wouldn't be the case if they were simply read from disc - I have an SSD). Also note, I'm not refreshing the page, just clicking around on links within the pages. I'm telling you, I don't think Firefox caches content anymore, for real. This happens on every site I visit, no matter the headers. Chrome caches.
Jan
5
comment How can I get Nginx to tell Firefox to cache my content?
I just checked and Firefox is indeed requesting without a If-Modified-Since, and is indeed being served the file contents, not just headers. If the file is 200Kb, it'll take about 150ms to download. I'm afraid that Firefox might be a piece of junk. Chrome will cache the content on the first request, even if I don't include any caching headers. Why would Mozilla want their browser to be slow and destroy my users' browsing experience byte by byte? Also, I am just clicking back and forth between links, and back-forward buttons, not refreshing (a refresh will cause even Chrome to re-download).
Jan
5
comment How can I get Nginx to tell Firefox to cache my content?
Thanks! That's a great help. Do you know if there is a way to prevent Firefox (via my server, assuming FF has default settings) from sending any request after the initial one? Even with just a body returned, this is wasteful, as I have about 12 media items per view and about 20-20 page views per user in my UI.
Jan
5
accepted How can I get Nginx to tell Firefox to cache my content?
Jan
3
awarded  Tumbleweed
Dec
27
comment How can I get Nginx to tell Firefox to cache my content?
Does it cause Firefox to cache content for you though? It doesn't for me. My Firefox settings are factory default.
Dec
27
comment How can I get Nginx to tell Firefox to cache my content?
Did that work for you? I just tried, without luck :( I'm not looking to cache things in Nginx btw, just serving static content and wanting the browser to cache it. I checked in Chrome, and it's still caching correctly.
Dec
26
revised How can I get Nginx to tell Firefox to cache my content?
added 261 characters in body