public
Description: A sample application for playing around with some ESI ideas I had.
Clone URL: git://github.com/codahale/esi-blog.git
Search Repo:
Added instructions for configuring Squid with ESI, and a horrible hacked 
up Squid config file.
codahale (author)
Wed May 07 14:34:14 -0700 2008
commit  4c41c16cbc98a9fc3088f0b80e56b705bbb1c507
tree    6a1431c101288b8afe5fcc0adbcfc287ca8d1b14
parent  ef66eb8abdb5c4ad8a7be2403e26f2cd2ba85ab7
0
...
7
8
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
0
@@ -7,3 +7,27 @@ following properties:
0
   2. Uses as much HTTP-level caching as possible.
0
   3. Leverages HTTP invalidation side-effects (e.g., POST clears cache) to make
0
      cache invalidation not suck so much.
0
+
0
+= Getting Squid3 To Work =
0
+
0
+Ho man. This is complicated.
0
+
0
+1. Install an ESI-enabled version of Squid3:
0
+
0
+ sudo apt-get build-deps squid3
0
+ apt-get source squid3
0
+ cd squid3*
0
+ nano debian/rules
0
+ <add --enable-esi to the list of config flags>
0
+ debuild -us -uc
0
+ cd ..
0
+ sudo dpkg -i *.deb
0
+
0
+2. Configure it:
0
+
0
+ sudo ln -s THIS_APP/config/squid3-development.conf /etc/squid3/squid.conf
0
+
0
+3. (Re)Start it:
0
+
0
+ sudo /etc/init.d/squid3 restart
0
+

Comments

    No one has commented yet.