GridPane setup for FlyingPress

GridPane is fully compatible and works out of the box.

In Nginx, FlyingPress will use PHP to serve cached pages. You can choose any of the following methods to serve cached pages directly from Nginx.

Nginx FastCGI/Redis Caching + FlyingPress

If you want to use GridPane's internal caching FastCGI or Redis page caching, simply turn off caching inside FlyingPress settings. 

In this way, FlyingPress will optimize all pages, but will not cache pages. The cache will be handled by Nginx FastCGI/Redis.

FlyingPress alone

If you want FlyingPress to manage everything (without using GridPane's internal caching), you can add our Nginx config to serve cached pages directly from Nginx, without using PHP.

Disable Nginx FastCGI/Redis paging. Add the following Nginx config to sites/ with the file name flying-press-main-context.conf

Verify Nginx config with nginx -t and finally, restart using gp ngx reload

To verify if it's working, check the response header of your site from an Incognito window. You'll see x-flying-press-source: Nginx indicating that it’s served via Nginx.