proxy

Detect mobile on Nginx and proxy cache

I am proxy caching a dynamic website for performance reasons. The website itself is fully responsive and works perfectly on mobile phones and desktops. But if a phone is detected then a different ad script is loaded to show mobile ad banners. This creates a small problem because the proxy…

Nginx $cookie variable and dashes

I was configuring a Nginx proxy server for a big dynamic website. To lower the load I decided to cache all public accessible HTML and bypass the proxy when a user was logged in to the forums or the website itself. Thats pretty easy, all you have to do is:…

Page 1 of 1