new set of no cache pages

This commit is contained in:
Rachit Bhargava
2024-01-09 14:46:09 -05:00
parent e453842b2f
commit ff0b49a046
4 changed files with 8 additions and 15 deletions

View File

@@ -103,7 +103,7 @@ data:
} }
#Don't cache the following URLs #Don't cache the following URLs
if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml") { if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml|wp-login.php|/medical-shipping.*|/medical-order.*|/medical-profile.*|/medical-thank.*") {
set $no_cache 1; set $no_cache 1;
} }
@@ -233,8 +233,7 @@ data:
} }
#Don't cache the following URLs #Don't cache the following URLs
if ($request_uri ~* "/(administrator/|wp-login.php)") if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml|wp-login.php|/medical-shipping.*|/medical-order.*|/medical-profile.*|/medical-thank.*") {
{
set $no_cache 1; set $no_cache 1;
} }

View File

@@ -100,8 +100,7 @@ data:
} }
#Don't cache the following URLs #Don't cache the following URLs
if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml") { if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml|wp-login.php|/medical-shipping.*|/medical-order.*|/medical-profile.*|/medical-thank.*") {
set $no_cache 1; set $no_cache 1;
} }
@@ -230,8 +229,7 @@ data:
} }
#Don't cache the following URLs #Don't cache the following URLs
if ($request_uri ~* "/(administrator/|wp-login.php)") if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml|wp-login.php|/medical-shipping.*|/medical-order.*|/medical-profile.*|/medical-thank.*") {
{
set $no_cache 1; set $no_cache 1;
} }

View File

@@ -100,8 +100,7 @@ data:
} }
#Don't cache the following URLs #Don't cache the following URLs
if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml") { if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml|wp-login.php|/medical-shipping.*|/medical-order.*|/medical-profile.*|/medical-thank.*") {
set $no_cache 1; set $no_cache 1;
} }
@@ -230,8 +229,7 @@ data:
} }
#Don't cache the following URLs #Don't cache the following URLs
if ($request_uri ~* "/(administrator/|wp-login.php)") if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml|wp-login.php|/medical-shipping.*|/medical-order.*|/medical-profile.*|/medical-thank.*") {
{
set $no_cache 1; set $no_cache 1;
} }

View File

@@ -100,8 +100,7 @@ data:
} }
#Don't cache the following URLs #Don't cache the following URLs
if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml") { if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml|wp-login.php|/medical-shipping.*|/medical-order.*|/medical-profile.*|/medical-thank.*") {
set $no_cache 1; set $no_cache 1;
} }
@@ -230,8 +229,7 @@ data:
} }
#Don't cache the following URLs #Don't cache the following URLs
if ($request_uri ~* "/(administrator/|wp-login.php)") if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|sitemap(_index)?.xml|wp-login.php|/medical-shipping.*|/medical-order.*|/medical-profile.*|/medical-thank.*") {
{
set $no_cache 1; set $no_cache 1;
} }