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

    (@vmarko)

    Hello @diplatis

    I am sorry about the issue you are having with the response headers and I am happy to assist you with this.
    You should use the caching method other than Disk-Enhanced or modify the Cache_File_Generic.php file.
    In wp-content/plugins/w3-total-cache
    Cache_File_Generic.php, line 98
    if ( isset($h['n']) && isset($h['v']) && $h['n'] == 'Link' ) {

    Controls if it tries to cache header.
    This should be changed to

    if ( isset($h['n']) && isset($h['v']) && ( $h['n'] == 'Link' || $h['n'] == 'W-WP-Total' || $h['n'] == 'W-WP-TotalPages' ) ) {
    for those headers.

    I hope this helps!

    Thread Starter diplatis

    (@diplatis)

    Hi @vmarko
    I modified the above mentioned file as instructed but no change.

    Thread Starter diplatis

    (@diplatis)

    @vmarko any help, please?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @diplatis
    Sorry for the late reply, we were testing this.
    We need to inspect this deeper and as you are a Pro user you can drop us a note via the plugin in Performance>Support.
    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    No activity from the user.
    Marking topic as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘JSON API stripped headers’ is closed to new replies.