We need an experienced sys admin to configure two debian / linux servers
Configure Varnish / Apache server to serve static files of type jpeg,jpg , gif, ping, js , css :
Server A ( Sub domain )
Apache Server must:
1. Only use Gzip or deflate ( Vary: Accept-Encoding ) .. varnish should cache the variations
2. For content types: jpeg,jpg,gif,png,js,css only
3. Set http expires headers to 1 month for above file types
4. Set " Pragma " Cache control header to 20 days to force varnish to cache the request .
5. Set Etags
6. Be set to serve a set of test content from subdomain [url removed, login to view] with above parameters
7. Serve on port:8080
1. Must be configured to serve on port 80 for subdomain [url removed, login to view]
2. Must be configured to serve jpeg,jpg,gif,png,js,css regardless of whether cookie is present or not, ie always serve from cache ( headers will be checked for double timestamp etc)
3. Ensure sending of the http headers set in apache referencing Apache points 3 and 5 with the objects served from the varnish cache.
Server B : Main Domain
The objective is to avoid disk and processing latency ( ie shrink connection and time to first byte time ) for static objects sent from the apache server. This we expect is achieved by using Apaches Module "mod_mem_cache". It will be your job to configure the apache server to mod mem cache where possible the following object types: jpeg,jpg,gif,png,js,css only ( Notice no html this must be served dynamically from the backend ). We are unsure its possible to store encoded / non encoded versions in apaches mem cache. Headers from content served from the mem cache must be pre processed for compression at minimum. Headers sent from the cached content must include:
Pragma and cache control headers 48 hours
Browser requests to the subdomain ( server b ) should be cookie free.