Social Question

sam111's avatar

How to zip your webpage so the load time is shorter? What should be in the source code?

Asked by sam111 (70points) January 27th, 2010
2 responses
“Great Question” (1points)

On google’s webmaster, there is a suggestion for gzip the files so it saves… bytes. How to do that?

Observing members: 0
Composing members: 0

Answers

jrpowell's avatar

Does your site use a database? If it is a blog it probably does.

pjanaway's avatar

If your using PHP I know its this:

<?php

ob_start(“ob_gzhandler”);

?>

Just add it to the start of the script. I use it all the time. Other languages though, i have no idea.

Answer this question

Login

or

Join

to answer.

Mobile | Desktop


Send Feedback   

`