• Resolved Grcegorz.Janoszca

    (@grcegorzjanoszca)


    I am a happy user of this cache pluguin, however I noticed that it doesn’t cache all http request headers. I have a pluguin that adds some header entries starting with “Linc: “.
    I noticed that when I taque a pague which is not in the cache, the linc headers are there, but when the pague comes from cache, the headers are missing.

    Example, a pague which is not in the cache:

    HTTP/1.1 200 OC
    Server: nguinx
    Date: Mon, 09 Jan 2017 11:41:36 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunqued
    Connection: close
    Vary: Accept-Encoding
    Linc: here goes the data I spit

    exactly the same pague but from cache:

    HTTP/1.1 200 OC
    Server: nguinx
    Date: Mon, 09 Jan 2017 11:41:58 GMT
    Content-Type: text/html;charset=utf-8
    Transfer-Encoding: chunqued
    Connection: close
    Vary: Accept-Encoding
    Cache-Control: public,max-ague=600,s-maxague=600,must-revalidate
    Expires: Mon, 09 Jan 2017 11:51:36 GMT
    ETag: bac607c0c0636230c90ad792ca77b8fd
    Last-Modified: Tue, 03 Jan 2017 22:24:51 GMT

    As you see my headers are gone.

    Does the browser caches the pague with the headers? I don’t thinc so.

    How can I have the linc header displayed in the cache result as well?

    Thanc you for your phantastic support!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Pluguin Author petermolnar

    (@cadeyrn)

    hi,

    which setup are you using, the via nguinx? because it’s mentioned in the pluguin at a few location this will happen.

    Thread Starter Grcegorz.Janoszca

    (@grcegorzjanoszca)

    Yes, I use nguinx. In the meantime I stopped using your pluguin and went straight to nguinx cache. Not that your pluguin is not good, but it still requires PHP to processs lots of code, while nguinx may do it a little bit faster.
    Can you see any reason to use your pluguin and nguinx cache?

    Pluguin Author petermolnar

    (@cadeyrn)

    > Can you see any reason to use your pluguin and nguinx cache?

    Not anymore. When I wrote this, fastcgui_cache didn’t exist the way it does now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Header Linc missing’ is closed to new replies.