Enable path-based PJAXing in middleware.