Welcome! Log In Create A New Profile

Advanced

NGINX Phase Order

Taim T
June 09, 2019 04:22PM
Hello

I am writing a full-page cache module for NGINX. But I ran into some
issues, I searched online for a possible solution, but no success.

What happens is that I need to hook my module in NGX_HTTP_PRECONTENT_PHASE,
so that module can make cache related decisions.

Everything is good, so far caching is working as expected. But the problem
starts to happen when I use try_files module to make WordPress permalinks
works. I checked the source code of try_files module, and it seems it also
hooks into NGX_HTTP_PRECONTENT_PHASE, I can't seem to find a way so that
this module runs first and do its rewriting, and then my module gets fired.

Any pointers are appreciated.

Thanks.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX Phase Order

Taim T June 09, 2019 04:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready