Just discovered how super simple it was to add some gz compression when for example providing JSON data from PHP.
Tag Archives: JSON
PHP: How to easily provide JSON and JSONP
Would you like to grab some server-side data through an AJAX call? For example by using the handy jQuery.ajax method?
A good data format to use then is JavaScript Object Notation, more commonly known as JSON. Providing data in the JSON format with PHP is super duper simple 8)