As far as I know, the "Front-Line Cache" is basically a full-page cache 
(similar 
to what a frontend proxy like Varnish or Pound would do). Your code doesn't 
tell 
it what to cache, it just works it out based on Expires response headers and 
If-Modified-Since request headers. Note that I have not tried the Cherokee 
front-line cache yet, so this is just speculation (but I think this is how it 
works).

Memcached still has its places - If you want to cache data that's used on all 
pages, you would probably still use Memcached. Personally I use XCache's 
variable cache for some of my sites. I already used XCache for PHP opcode 
caching so it made sense to me (didn't want to install a whole new program just 
for caching). APC has a variable cache too, I believe.

 - Daniel



________________________________
From: Arman Javaherian <[email protected]>
To: [email protected]
Sent: Sun, 19 June, 2011 8:23:29 AM
Subject: [Cherokee] Cherokee or Memcached or Both?

I'm launching a fairly dynamic website(HTML, JavaScript, PHP) that makes 
multiple API calls to different sources to build an 'upcoming concert events in 
your area' result list for my users.   My plan originally was to use Memcached 
installed on my cPanel/LAMP server setup to cache all the API responses.

Then, I came across Cherokee and I was intrigued, to say the least.  I'm hoping 
someone from this group will be able to give me a recommendation.  Would 
Cherokee's Front-Line cache replace Memcached?  Would they work together?  How 
would my website code tell Cherokee's Front-Line cache what to cache?  I read 
the documentation on the Cherokee-Project website for the Front-Line cache but 
still not 100% sure how it would work with my site or with Memcached.

Thank you in advance for any help you can provide.  I'm a fairly novice server 
admin (just know basic SSH), so if Cherokee's cache implementation is too 
technical, that may drive my decision in and of itself.  

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to