Tweetly Updater
Tweetly Updater enables no-caching headers for the whole site (1 post)

  1. archon810
    Posted 4 years ago #

    I'm setting up a reverse proxy (nginx) to offload some processing off apache, but it would not cache any php responses. So I looked into it and found these headers set:

    Cache-Control	no-cache, must-revalidate, max-age=0
    Pragma	no-cache

    These headers prevent nginx from caching any PHP responses, and after disabling all my plugins one by one, I narrowed it down to this plugin, and specifically a call to session_start().

    Why is this function being called at all? Can it be removed?

    If not, this workaround overrides no-cache:
    set ini_set('session.cache_limiter', 'private'); at some point before session_start().

    Can this be fixed please?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tweetly Updater
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic