nginx - takes a few seconds for changes to appear? |
[eluser]ripken204[/eluser]
this is really weird.. I set up nginx on ubuntu 10.04, on a local dev server I am using this nginx config (minus the part about caching): http://ericlbarnes.com/post/12197460552/...rtual-host Whenever I make a change to a file in CI, it is taking at least a couple of seconds for that change to appear on the site. Sometimes it's instant(which it should always be) and other times it takes 20+ seconds of me hitting refresh. I've even tested without my theme by doing something like this: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); I am testing the contact function which simply prints out numbers on the page. This is having problems as well when I change what echos out. Then if I make a test.php file in my public_html directory and make changes to that, it works instantly. So there is definitely something on the CI side that is going wrong and I can't figure it out. I have $config['uri_protocol'] = 'REQUEST_URI'; Any ideas? |
Welcome Guest, Not a member yet? Register Sign In |