*

morfik

  • ****
  • 169 posts
What's needed to make compression work?
« on: March 13, 2023, 09:26:54 PM »
It looks like the compression switch in the plugin options doesn't affect its behavior. What's needed to make compression work?

*

MB Themes

Re: What's needed to make compression work?
« Reply #1 on: March 13, 2023, 09:46:15 PM »
Server should support that...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

morfik

  • ****
  • 169 posts
Re: What's needed to make compression work?
« Reply #2 on: March 13, 2023, 09:46:52 PM »
What do you mean by that?

*

MB Themes

Re: What's needed to make compression work?
« Reply #3 on: March 13, 2023, 09:49:14 PM »
This looks to explain everything pretry well.
https://blog.hubspot.com/website/gzip-compression
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

morfik

  • ****
  • 169 posts
Re: What's needed to make compression work?
« Reply #4 on: March 13, 2023, 09:50:48 PM »
According to this output:

Code: [Select]
Gzip Is Enabled
Original Size:
246.69 KB
Gzip Size (compressed):
31.35 KB
Compression %:
87.29% is compressed
HTTP Status:
200
Request Time:
0.7588 ms
Compression Time:
0.008 s
Content Type:
text/html
Server:
Apache/2.4.54 (Debian)

Everything should be fine.

But when I switch the button in the plugin settings I don't see any change.

*

MB Themes

Re: What's needed to make compression work?
« Reply #5 on: March 13, 2023, 09:53:15 PM »
Then it should work :)
Only change is that cache files are gzipped
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

morfik

  • ****
  • 169 posts
Re: What's needed to make compression work?
« Reply #6 on: March 13, 2023, 09:56:38 PM »
But it doesn't. When I switched and cleared the cache and visit the home page, I got this:

Code: [Select]
├── home
│   └── f8e90ed26ac96f07883decea2989bf43.html


So it's not compressed.

*

MB Themes

Re: What's needed to make compression work?
« Reply #7 on: March 15, 2023, 02:08:06 PM »
@morfik
Check file content.

Hope you see difference :)

Compressed:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /><title>BMW Q7 2019 Sergeantsville - Osclass Plugins 1 - Classifieds demo site</title><meta name="title" content="BMW Q7 2019 Sergeantsville - Osclass Plugins 1 - Classifieds demo site" /><meta name="description" content="Houses - Apartments for Sale Sergeantsville, Donec posuere et turpis et ullamcorper. Vivamus leo urna, bibendum quis tincidunt et, hendrerit sed metus. Ut eget elit ..." /><meta name="keywords" content="Houses - Apartments for Sale, Sergeantsville, Houses - Apartments for Sale Sergeantsville, New Jersey, Houses - Apartments for Sale New Jersey, Houses - Apartments for Sale New Jersey Sergeantsville, New Jersey Sergeantsville" /><meta http-equiv="Cache-Control" content="no-cache" /><meta http-equiv="Expires" content="Fri, Jan 01 1970 00:00:00 GMT" /><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- favicon --><link rel="shortcut icon" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-48.png"><link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-144.png"><link rel="apple-touch-icon-precomposed" sizes="114x114" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-114.png"><link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-72.png"><link rel="apple-touch-icon-precomposed" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-57.png"><!-- /favicon --><script type="text/javascript"> var sigma = window.sigma || {}; sigma.base_url = 'https://plugins.abprofitrade.eu/index.php'; sigma.langs = {"delete":"Delete","cancel":"Cancel"}; sigma.fancybox_prev = 'Previous image'; sigma.fancybox_next = 'Next image'; sigma.fancybox_closeBtn = 'Close'; var jqueryVersion = '1';</script><!-- Facebook Open Graph Tags--><meta property="og:title" content="BMW Q7 2019 Sergeantsville - Osclass Plugins 1 - Classifieds demo site" /><meta property="og:site_name" content="BMW Q7 2019 Sergeantsville - Osclass Plugins 1 - Classifieds demo site"/><meta property="og:url" content="https://plugins.abprofitrade.eu/real-estate/houses-apartments-for-sale/bmw-q7-2019_i1202" /><meta property="og:description" content="Houses - Apartments for Sale Sergeantsville, Donec posuere et turpis et ullamcorper. Vivamus leo urna, bibendum quis tincidunt et, hendrerit sed metus. Ut eget elit ..." /><meta property="og:locale" content="en_US" /><meta property="og:image" content="https://plugins.abprofitrade.eu/oc-content/uploads/12/1208.jpg" /><meta property="og:place" content="United States, New Jersey, Sergeantsville" /><meta property="og:type" content="product" /><meta property="product:availability" content="Available" /><meta property="product:retailer_item_id" content="1202" /><meta property="product:price:amount" content="78900" /><meta property="product:price:currency" content="USD" /><!-- Twitter Tags--><meta name="twitter:card" content="summary" /><meta name="twitter:site" content="@jolo" /><meta name="twitter:title" content="BMW Q7 2019 Sergeantsville - Osclass Plugins 1 - Classifieds demo site" /><meta name="twitter:description" content="Houses - Apartments for Sale Sergeantsville, Donec posuere et turpis et ullamcorper. Vivamus leo urna, bibendum quis tincidunt et, hendrerit sed metus. Ut eget elit ..." /><meta name="twitter:image" content="https://plugins.abprofitrade.eu/oc-content/uploads/12/1208.jpg" /><meta name="generator" content="Osclass 8.1.1" /><meta name="robots" content="index, follow" /><meta name="googlebot" content="index, follow" /><link href="https://plugins.abprofitrade.eu/oc-content/plugins/welcome/css/user.css" rel="stylesheet" type="text/css" /><link href="https://plugins.abprofitrade.eu/oc-content/plugins/success/css/user.css" rel="stylesheet" type="text/css" /><link href="https://plugins.abprofitrade.eu/oc-content/plugins/share/css/user.css" rel="stylesheet" type="text/css" /><link href="https://plugins.abprofitrade.eu/oc-content/plugins/faq/css/user.css?v=20230315140550" rel="stylesheet" type="text/css" /><link href="https://plugins.abprofitrade.eu/oc-content/plugins/follow/css/user.css?v=20230315140550" rel="stylesheet" type="text/css" /><link href="https://plugins.abprofitrade.eu/oc-content/plugins/gdpr/css/user.css?v=230315020550" rel="stylesheet" type="text/css" /><link href="https://plugins.abprofitrade.eu/oc-content/plugins/booking/css/user.css?v=20230315140550" rel="stylesheet" type="text/css" /><link href="https://plugins.abprofitrade.eu/oc-content/plugins/price_comparison/css/tipped.css" rel="stylesheet" type=...

Uncompressed:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
  <head>
   
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<title>BMW Q7 2019 Sergeantsville - Osclass Plugins 1 - Classifieds demo site</title>
<meta name="title" content="BMW Q7 2019 Sergeantsville - Osclass Plugins 1 - Classifieds demo site" />
<meta name="description" content="Houses - Apartments for Sale Sergeantsville, Donec posuere et turpis et ullamcorper. Vivamus leo urna, bibendum quis tincidunt et, hendrerit sed metus. Ut eget elit ..." />
<meta name="keywords" content="Houses - Apartments for Sale, Sergeantsville, Houses - Apartments for Sale Sergeantsville, New Jersey, Houses - Apartments for Sale New Jersey, Houses - Apartments for Sale New Jersey Sergeantsville, New Jersey Sergeantsville" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="Fri, Jan 01 1970 00:00:00 GMT" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- favicon -->
<link rel="shortcut icon" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-48.png">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-114.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-72.png">
<link rel="apple-touch-icon-precomposed" href="https://plugins.abprofitrade.eu/oc-content/themes/sigma/favicon/favicon-57.png">
<!-- /favicon -->

<script type="text/javascript">
  var sigma = window.sigma || {};
  sigma.base_url = 'https://plugins.abprofitrade.eu/index.php';
  sigma.langs = {"delete":"Delete","cancel":"Cancel"};
  sigma.fancybox_prev = 'Previous image';
  sigma.fancybox_next = 'Next image';
  sigma.fancybox_closeBtn = 'Close';
  var jqueryVersion = '1';
</script>
<!-- Facebook Open Graph Tags-->
...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

morfik

  • ****
  • 169 posts
Re: What's needed to make compression work?
« Reply #8 on: March 15, 2023, 02:26:39 PM »
Yes, I see but 200 KiB vs. 180 KiB isn't "87.29% is compressed". :D

*

MB Themes

Re: What's needed to make compression work?
« Reply #9 on: March 15, 2023, 02:42:34 PM »
Complain to gzip or what is that method. It just remove all white spaces most probably, do not think it's doing actually archive or something like that.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots