Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. CO*Optimize the code first, then add compression.* - I beg to differ. Optimization is a time-consuming (=expensive) task which doesn't necessarily give desired results. Gzipping is a simple measure which only costs you about half an hour of configuring your server and then some CPU cycles for guaranteed results. Even for high-load sites, I'd say the reduced bandwidth is well worth any CPU cost (I/O is slower than CPU).
      singulars
    2. CO@gustafc: Fair enough. But the thing to realize is that it's not free. And with modern Linux kernels and asynchronous I/O provided by most modern web servers is quite efficient (in terms of CPU cost for longer transfers). Sure, there will be some gain by adding compression, but it depends on your loading whether it's going to help (If you're CPU bound, it'll likely hurt you to compress. If you're disk or I/O bound, it'll help). It all depends what state your CPUs sit in most of the time...
      singulars
    3. COI would suggest either using [mod_deflate](http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/) (if you're using Apache) or PHP's built in [ZLib Output Compression](http://us.php.net/manual/en/zlib.configuration.php#ini.zlib.output-compression). They do a lot of checks for supported browsers, etc. There's no real need to do it in PHP if you don't have to (meaning if you can edit a `.htaccess` file, or `php.ini`)...
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload