Skip to content

replace_filter removes some Caching headers. #8

@bhargavtrivedi

Description

@bhargavtrivedi

Hello,

I am using Nginx as web server and I tried to implement replace_filter module for removing some part of response. This implementation works fine for me but it has caused one issue. It also removes some important response headers.

I tried to look into the code of replace filter and found that it removes "last modified" headers because of which the response can not be cached.

Would you explain why is it important to remove "last modified" response headers? And would you suggest some solution to enable it again after processing replace_filter code?

Thanks,
Bhargav

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions