# Nginx - konfiguracja pod WordPress'a

DevFeed: [Nginx - konfiguracja pod WordPress'a](<https://devfeed.tech/articles/nginx-konfiguracja-pod-wordpress-a-27528.md>)

Original publisher: [Read original article](<https://gagor.pro/2012/06/nginx-konfiguracja-pod-wordpressa/>)

Author: Tom

Published: 2012-06-29T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [nginx](<https://devfeed.tech/topics/nginx.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [WordPress](<https://devfeed.tech/topics/wordpress.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [cache](<https://devfeed.tech/tags/cache.md>), [howto](<https://devfeed.tech/tags/howto.md>), [http](<https://devfeed.tech/tags/http.md>), [nginx](<https://devfeed.tech/tags/nginx.md>), [reverse-proxy](<https://devfeed.tech/tags/reverse-proxy.md>), [wordpress](<https://devfeed.tech/tags/wordpress.md>)

## AI overview

A Polish tutorial presents an nginx configuration for a WordPress site running on low-powered hardware. It proposes a short-lived cache in a reverse proxy to reduce the cost of dynamic page generation, while bypassing caching for comments and the administration panel. The article notes that POST requests set a cookie to disable caching briefly so submitted comments appear immediately.

## Source excerpt

To raczej nie jest podstawowy konfig i próżno szukać go na stronie WordPress'a, więc odradzam tę zabawę jeśli nie zna się zbyt dobrze nginx'a. Ponieważ serwerek, na którym działa stronka to sprzęcik z Atomem 330 i mocy na CPU zbyt wiele nie ma to popularne pluginy (np. W3 Total Cache) potencjalnie zwiększające wydajność tak na prawdę zmulały stronkę jeszcze bardziej. Pluginów sprawdziłem kilka i każdorazowo efekt był podobny - stronka działała wolniej niż bez ich pomocy.