Lighttpd: Set Cache-Control: public, max-age Headers For Caching Purpose

Posted on in Categories last updated November 9, 2012

I would like to use the Cache-Control header field to specify directives that MUST be obeyed by all caching mechanisms such as a proxy server and browsers. This will help to reduce latency and network traffic for my static assets served by lighttpd web-server. How do I set Cache-Control: public, max-age=SEC using Lighttpd web-server under Unix like operating systems?

Squid Listen on Other Port ( Squid Configure Port Listing with SELinux)

Posted on in Categories , , , , , , , , , last updated April 20, 2009

My Squid proxy server running on port 3128. Since this is frequently scanned by adversaries looking for proxy servers; I’ve changed port to 10000 and restart squid. But my squid is not working on port # 10000 it only works on port # 3128? How do I force Squid to listen on uncommon port under CentOS Linux v5.3?