nginx apache and dynamic content
-
When using nginx (as a proxy for serving static content) with apache (to handle the php stuff) I’m finding that the home/index page as well as first and second level pages (parent and child) will quickly serve a cached static file just fine, however once you go down to a third tier, pages no longer serve as static files and regenerate with every request, even though the page contains the W3 footer stamp.
Example – this page generates and serves as a static file quickly
https://www.giftsandmerchandise.co.uk/products/bagsHowever this page (which is using mclude to include some dynamic php) will not
https://www.giftsandmerchandise.co.uk/products/bags/airporter-bagsQ/ What configuration should I be using to get the best results from these sorts of pages ? Should I;
Revert back to Apache with opcode ‘et al
Completely replace apache with nginx
Other suggestions ?Thanks,
Nic
- The topic ‘nginx apache and dynamic content’ is closed to new replies.