How to find out if ob_gzhandler works?

How can I check if

ob_start("ob_gzhandler");

Does it work and check the difference with or without it?

Thank,

+3
source share
2 answers

Using the Net tab of Firebug , check to see if the title has the Content-Encodingvalue gzipor deflate.

Or try the gzip online test .

See this question .

+4
source

You can use ob_list_handlersto get an array of handlers that are used.

+1
source

Source: https://habr.com/ru/post/1746213/


All Articles