fsockopen caching

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
loveccb
Forum Newbie
Posts: 10
Joined: Wed Jul 05, 2006 6:48 pm

fsockopen caching

Post by loveccb »

I'm making a connection via fsockopen and will be making many connections to the same server throughout the day.

I'm very concerned about speed here since I've found every connection takes about 10s for the ssl handshake and a return response. Does anyone know of a way to increase this speed, possibly using caching?

Many thanks
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Can you use/install something like http://de2.php.net/manual/en/ref.memcache.php ?
Post Reply