Viewing 3 replies - 1 through 3 (of 3 total)
  • i need to know the answer to this question please.

    can someone answer Arioman’s question.

    Nick Ciske

    (@nickciske)

    From the FAQ

    Which textareas for file entries support regular expressions?

    Page Cache: Never cache the following pages, Cache exception list, Non-trailing slash pages
    Database Cache: Never cache the following pages
    CDN: Custom file list, Rejected files
    The CDN fields only support regular expression on the filename.
    Examples (Never cache the following pages):

    Do not cache page/directory and sub pages
    /directory*

    Do not cache pages under a directory
    /directory/.+

    Do not cache pages that contain specific text
    /.*text.*

    Do not cache pages that is named child in directories
    .+/child

    Do not cache any pages named child
    */child

    Note: To disable page caching of specific theme templates or plugin files you need to add define(‘DONOTCACHEPAGE’, true); to it.

    Nick Ciske

    (@nickciske)

    So /category/.+ should disable caching all URLs that start with /category/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘need simple giude about Never cache the following pages’ is closed to new replies.