WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Need gzip for non-cached page (2 posts)

  1. techb
    Member
    Posted 3 years ago #

    Hi,

    I am using wp-super-cache for last 1 year and i am satisfied with all functionality.

    But just now i come to know that wp-super cache deliver gzip file if page is cached otherwise not.

    In my case, i am adding news in each 5 to 10 minutes and so homepage and other pages are refreshing each time and it delivers non-gzip version which takes more bandwidth.

    Can we use header() for gzip with wp-supercache? If yes then how?

    My wordpress details
    90000+ total news
    200+ news per day
    800+ visitors

    Also let me know best settings for me as i have seen some news page are not refreshing for 6 to 8 hours which wont show latest news in sidebar so i want 1 hour refreshing for pre-load cache and need pre-load cache for only last 400 news as 90% users will read only last 2 days news.

    Help me for this.
    thank you.

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    Edit wp-content/wp-cache-config.php and set $wp_cache_gzip_first to 1 instead of 0 and try again. Does that help with gzipping the first page load?

    Set your cache expiry to something smaller, say 60 seconds. That will help a lot.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic