Share » Learn » eZ Publish » Using the Squid Reverse Proxy to...

Using the Squid Reverse Proxy to Improve eZ Publish Performance

Thursday 11 January 2007 11:23:00 am

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Squid keeps an item in the cache until it has expired. There are three things that can expire a cached object:

  • Timeout based on the "Expires" value in the HTTP header
  • Manual browser refresh (for example, hitting the reload button)
  • Forced cache clearing with squidclient purge

To force cache clearing of a specific item you can use the squidclient command line tool as shown below.

squidclient -m PURGE 'URL'

When testing Squid, remember that browsers send no-cache headers when the reload button is clicked. The cache has thus expired. For proper testing, you should use a benchmarking tool such as ApacheBench or Siege.

36 542 Users on board!

Tutorial menu

Printable

Printer Friendly version of the full article on one page with plain styles

Author(s)