5 entries tagged nginx

That Cache-breaking Trick for Stylesheets With Infinite Expires Settings on Nginx

If you want your web site to be fast under load (which I theoretically do, even if none of my personal sites have exactly made the big time yet), then one thing you do is set a long expiry time on your static assets like stylesheets. But when you change the files punters do not see the new version for days. Here’s the simple trick for getting around this without being wildly inefficient. Read more

Django sites on a shared server

When I am creating toy web sites I start with Django by default, so as to avoid wasting time and energy researching the minutae of the myriad alternatives before deciding which one to use. As a result, my recreational server has a lot of tiny Django sites. Here is how I am setting them up on my new server. Read more