Extension talk:Graphviz (Dynamic Cache)

Shorting the URLs
I've set up Cygon's Graphviz extension and it works great. However for large graphs, I noticed that the URLs were getting too large for IIS.

I changed the code to call gzdeflate before base64_encode and to call gzinflate after base64_decode. Now the URLs are much shorter, on the order of half what they were.

Here are the two changes, it should be easy to see where they belong: gzinflate( base64_decode($_GET["graph"]) ) $encodedSrc = base64_encode( gzdeflate($src) );

--63.76.1.249 22:24, 19 October 2005 (UTC)