• Resolved workky

    (@workky)


    This happens about once every 1-2 weeks. Only fix is to clear the cache and everything works like it should until it does it again. If i disable one of the options, it wont do it. But, it also effects speed a little bit. I pay the 99 bucks a year for the pro, but cant figure out how to login anymore.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @workky

    I am sorry bout the issue you are experiencing and I am happy to help!
    The problem with downloading gzip files is probably that, there already is a configuration in the setup that handles gzip files. If you enable gzip in Performance>Browser Cache>HTML & XML, the configuration gets messed up and the browser will download a gzip file in situations like yours. Disabling the gzip option in Performance>Browser Cache>HTML & XML will solve this issue.
    You can also define W3TC_PAGECACHE_STORE_COMPRESSION_OFF constant that allows not to generate _gzip and similar files. It helps in the cases when the server configuration
    doesn’t allow mime type overwrites so cached content ends up with browser
    download action.
    It’s located in /wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php line 1191

    if ( defined( ‘W3TC_PAGECACHE_STORE_COMPRESSION_OFF’ ) ) {
    return $compressions;
    
    }

    You just need to add define(‘W3TC_PAGECACHE_STORE_COMPRESSION_OFF’, true);

    to the wp-config.php file.

    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    No activity for a week.
    Marking topic as resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘download.gz when viewing homepage’ is closed to new replies.