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

2013-05-06 Thread Daevid Vincent
-Original Message- From: Marco Behnke [mailto:ma...@behnke.biz] Sent: Friday, May 03, 2013 12:56 PM Maybe google page speed is worth a look for you too? We have over 1,000 servers in house and also distributed across nodes in various cities and countries. Don't know if

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 dae...@daevid.com 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

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 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

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 memcache

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

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

2013-05-03 Thread Sebastian Krebs
2013/5/3 Daevid Vincent dae...@daevid.com -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-02 Thread ma...@behnke.biz
This is because tidy is for optimizing HTML, not for optimizing PHP. Daevid Vincent dae...@daevid.com hat am 2. Mai 2013 um 02:20 geschrieben: So I took the time to install Tidy extension and wedge it into my code. Now there is one thing that is killing me and breaking all my pages. This

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

2013-05-02 Thread Daevid Vincent
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. Secondly, there are 8 billion options in Tidy to configure it, I would be astonished if they were so

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

2013-05-01 Thread Daevid Vincent
So I took the time to install Tidy extension and wedge it into my code. Now there is one thing that is killing me and breaking all my pages. This is what I WANT the result to be: link rel=stylesheet type=text/css href=/templates/?= $layout_id ?/css/styles.css /

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

2013-04-17 Thread Joseph Moniz
http://php.net/manual/en/book.tidy.php - Joseph Moniz (510) 509-0775 | @josephmoniz https://twitter.com/josephmoniz | GitHubhttps://github.com/JosephMoniz | LinkedIn http://www.linkedin.com/pub/joseph-moniz/13/949/b54/ | Bloghttp://josephmoniz.github.io/ | CoderWall

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

2013-04-17 Thread Matijn Woudt
On Wed, Apr 17, 2013 at 11:52 PM, Daevid Vincent dae...@daevid.com wrote: We do a lot with caching and storing in memecached as well as local copies so as to not hit the cache pool over the network and we have found some great tools to minimize our javascript and our css, and now we'd like to

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

2013-04-17 Thread David OBrien
On Wed, Apr 17, 2013 at 5:52 PM, Daevid Vincent dae...@daevid.com wrote: We do a lot with caching and storing in memecached as well as local copies so as to not hit the cache pool over the network and we have found some great tools to minimize our javascript and our css, and now we'd like to

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

2013-04-17 Thread Daevid Vincent
-Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Wednesday, April 17, 2013 3:11 PM To: Daevid Vincent Cc: PHP List Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache On Wed, Apr 17, 2013 at 11:52 PM, Daevid Vincent