codahale / esi-blog
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit 6e0366c646246fc31403210fe4af1cf973d1b935
tree 72d8c00e658ea4290d5830e267da7467a350df1d
parent 4c41c16cbc98a9fc3088f0b80e56b705bbb1c507
tree 72d8c00e658ea4290d5830e267da7467a350df1d
parent 4c41c16cbc98a9fc3088f0b80e56b705bbb1c507
esi-blog /
| name | age | message | |
|---|---|---|---|
| |
.autotest | Wed May 07 12:38:53 -0700 2008 | |
| |
README | ||
| |
Rakefile | Tue May 06 21:24:23 -0700 2008 | |
| |
app/ | Wed May 07 14:35:22 -0700 2008 | |
| |
config/ | ||
| |
doc/ | Tue May 06 21:24:23 -0700 2008 | |
| |
lib/ | Tue May 06 21:46:24 -0700 2008 | |
| |
public/ | Tue May 06 21:24:23 -0700 2008 | |
| |
script/ | Tue May 06 21:57:38 -0700 2008 | |
| |
spec/ | Wed May 07 11:20:51 -0700 2008 | |
| |
stories/ | Tue May 06 21:57:38 -0700 2008 | |
| |
test/ | Tue May 06 21:24:23 -0700 2008 | |
| |
vendor/ | Wed May 07 10:42:06 -0700 2008 |
README
= esi-blog =
An experiment in leveraging Edge-Side Includes to build an application with the
following properties:
1. Doesn't suck to develop.
2. Uses as much HTTP-level caching as possible.
3. Leverages HTTP invalidation side-effects (e.g., POST clears cache) to make
cache invalidation not suck so much.
= Getting Squid3 To Work =
Ho man. This is complicated.
1. Install an ESI-enabled version of Squid3:
sudo apt-get build-deps squid3
apt-get source squid3
cd squid3*
nano debian/rules
<add --enable-esi to the list of config flags>
debuild -us -uc
cd ..
sudo dpkg -i *.deb
2. Configure it:
sudo ln -s THIS_APP/config/squid3-development.conf /etc/squid3/squid.conf
3. (Re)Start it:
sudo /etc/init.d/squid3 restart

