Skip to content

Support for skip Nginx caching on custom defined URL slugs #175

@bari86

Description

@bari86

some e-commerce site require certain custom path to be excluded from cache. since SS always cache almost everything and hardcoded code, there is no function to add custom path to exclude from cache. please add this as soon as possible as its vital feature to exclude cache on certain url

i believe in the modules>nginx>sites>production.txt there are this code

## ENGLISH - sensitive wordpress urls should always skip the cache if ($request_uri ~* "index.php|/account.*|/cart.*|/checkout.*|/contact.*|/dashboard.*|/login.*|/my-.*|/order.*|/profile.*|/register.*|/settings.*|/view.*|/wc-api.*|/wp-admin.*|wp-.*.php") { set $skip_cache 1; }

in which allow custom url that can be skipped from cache. can you in a way make it easier for us to define any custom path to skip cache?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions