Mike Percy has posted comments on this change.

Change subject: Control how content is cached on the Kudu web site
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/3462/1/.htaccess
File .htaccess:

Line 1: # Don't cache content or styles / scripts served by us.
> I forget, do we serve our own bootstrap/etc? or use a cdn?
Mostly CDN, but it's a mix. We should probably try to get more from a CDN. e.g. 
right now we serve bootstrap, but jquery is on a CDN. If we had our own CDN, we 
could also put our own (versioned) files up there and have it cache the files 
indefinitely.


Line 5:      Header unset ETag
> why not use etag based caching?
ETags are not distributed; different servers will give different ETags for the 
same content. Since the upstream site appears to have mirrors (based on 
nslookup) then I don't think ETags will work. See also 
https://developer.yahoo.com/performance/rules.html#etags=

However I didn't do a thorough investigation of how ASF load balancing is set 
up.


-- 
To view, visit http://gerrit.cloudera.org:8080/3462
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I08619464d8d458582282044a7db685f8fbbca483
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: gh-pages
Gerrit-Owner: Mike Percy <mpe...@apache.org>
Gerrit-Reviewer: Mike Percy <mpe...@apache.org>
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>
Gerrit-HasComments: Yes

Reply via email to