Re: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Sebastian Krebs
2013/5/3 Daevid Vincent > > > -Original Message- > > From: Marco Behnke [mailto:ma...@behnke.biz] > > Sent: Friday, May 03, 2013 12:01 PM > > To: Daevid Vincent; php >> "php-general@lists.php.net" > > Subject: Re: [PHP] Need a tool to minimize HTML before storing in > memecache > > > > If

Re: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Marco Behnke
Am 03.05.2013 21:34, schrieb Daevid Vincent: -Original Message- From: Marco Behnke [mailto:ma...@behnke.biz] Sent: Friday, May 03, 2013 12:01 PM To: Daevid Vincent; php >> "php-general@lists.php.net" Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache If you r

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Daevid Vincent
> -Original Message- > From: Marco Behnke [mailto:ma...@behnke.biz] > Sent: Friday, May 03, 2013 12:01 PM > To: Daevid Vincent; php >> "php-general@lists.php.net" > Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache > > If you really have that much traffic, then m

Re: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Marco Behnke
If you really have that much traffic, then memcache isn't your answer to caching. It is as slow as a fast database. You should use APC caching instead. APC will also handle a lot of bytecode caching. If you want to go with tidy and surf around the php issues you could optimize the single html part

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread Daevid Vincent
Well we get about 30,000 page hits PER SECOND. So we have a template engine that generates a page using PHP/MySQL and populates it as everyone else does with the generic content. Then we store THAT rendered page in a cache (memcache pool as well as a local copy on each server). HOWEVER, there

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-05-03 Thread ma...@behnke.biz
But why are you caching uncompiled php code? > Daevid Vincent hat am 2. Mai 2013 um 23:21 geschrieben: > > > While that may be true for most users, I see no reason that it should limit or > force me to a certain use case given that dynamic pages make up the vast > majority of web pages served. >