Merge lp:~benji/charms/precise/juju-gui/make-etags-ignore-inode into lp:~juju-gui/charms/precise/juju-gui/trunk

Proposed by Benji York
Status: Merged
Merged at revision: 150
Proposed branch: lp:~benji/charms/precise/juju-gui/make-etags-ignore-inode
Merge into: lp:~juju-gui/charms/precise/juju-gui/trunk
Diff against target: 16 lines (+2/-0)
1 file modified
config/apache-site.template (+2/-0)
To merge this branch: bzr merge lp:~benji/charms/precise/juju-gui/make-etags-ignore-inode
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+202542@code.launchpad.net

Description of the change

Ignore inodes when generating etags.

Since the inode for a given file will vary across servers, using inode to
generate etags when there are multiple back-end servers means that the etags
for a given URL will vary depending on which back-end fulfilled the request.

https://codereview.appspot.com/55210044/

To post a comment you must log in.
Revision history for this message
Benji York (benji) wrote :

Reviewers: mp+202542_code.launchpad.net,

Message:
Please take a look.

Description:
Ignore inodes when generating etags.

Since the inode for a given file will vary across servers, using inode
to
generate etags when there are multiple back-end servers means that the
etags
for a given URL will vary depending on which back-end fulfilled the
request.

https://code.launchpad.net/~benji/charms/precise/juju-gui/make-etags-ignore-inode/+merge/202542

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/55210044/

Affected files (+4, -0 lines):
   A [revision details]
   M config/apache-site.template

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>

Index: config/apache-site.template
=== modified file 'config/apache-site.template'
--- config/apache-site.template 2013-08-09 13:26:54 +0000
+++ config/apache-site.template 2014-01-21 19:48:07 +0000
@@ -3,10 +3,12 @@

   DocumentRoot {{server_root}}
   <Directory />
+ FileETag MTime Size
    Options FollowSymLinks
    AllowOverride None
   </Directory>
   <Directory {{server_root}}>
+ FileETag MTime Size
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny

Revision history for this message
Benji York (benji) wrote :

LGTMMAI (looks good to me, myself, and I)

https://codereview.appspot.com/55210044/

Revision history for this message
Benji York (benji) wrote :

*** Submitted:

Ignore inodes when generating etags.

Since the inode for a given file will vary across servers, using inode
to
generate etags when there are multiple back-end servers means that the
etags
for a given URL will vary depending on which back-end fulfilled the
request.

R=benji-york
CC=
https://codereview.appspot.com/55210044

https://codereview.appspot.com/55210044/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'config/apache-site.template'
2--- config/apache-site.template 2013-08-09 13:26:54 +0000
3+++ config/apache-site.template 2014-01-21 19:52:23 +0000
4@@ -3,10 +3,12 @@
5
6 DocumentRoot {{server_root}}
7 <Directory />
8+ FileETag MTime Size
9 Options FollowSymLinks
10 AllowOverride None
11 </Directory>
12 <Directory {{server_root}}>
13+ FileETag MTime Size
14 Options Indexes FollowSymLinks MultiViews
15 AllowOverride None
16 Order allow,deny

Subscribers

People subscribed via source and target branches

to all changes: