• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Issue Nginx Caching / Cache not Updating

Sally1

Regular Pleskian
Hello,


i have the issue when posting a new post on Wordpress Website, the post not rapper, only when i refresh the browser, the new post appear and when access the next time the website, the post is not shown public.

Is there way that nginx checks with Apache to see if new content is published?

Have CentOS Linux 7.6.1810 (Core)‬ Plesk Onyx
Version 17.8.11 Update #66. with Apache and Nginx Caching activated.

Apache Default Settings, Proxy Mode on, Smart static files processing on, Serve static files directly by nginx ON, Enable nginx caching On

Cache Requests with Cookies : __cfduid

Disable Caching Locations:

/wp-admin/
/wp-login.php
/xmlrpc.php
/wp-(app|cron|login|register|mail).php (or: wp-.*.php)
/feed/
index.php
wp-comments-popup.php
wp-links-opml.php
wp-locations.php
sitemap(_index)?.xml
[a-z0-9_-]+-sitemap([0-9]+)?.xml


Additional Nginx Directives:

# Nginx Expires

location ~* .(js|jpg|jpeg|gif|png|css|tgz|gz|rar|bz2|doc|pdf|ppt|tar|wav|bmp|rtf|swf|ico|flv|txt|woff|woff2|svg)$ {

expires 5m;

add_header Pragma "public";

add_header Cache-Control "public";

}


Thx
 
Back
Top