• Resolved lungaxe

    (@lungaxe)


    Hello,

    I’m trying use Regular Expression on:
    Page Cache ? Purge Policy: Page Cache

    But seems it is not works.

    If I tried a normal url – works fine.

    However, what I want is all pages on a path, so I set as:
    path/.*

    I tried only .* to check if works but without success too, so I’m wondering if I can use Regular Expression on Additional Pages?

    thanks

    • This topic was modified 6 years, 1 month ago by lungaxe.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Regular expression does work. Please check out our FAQ page for more details.

    Thread Starter lungaxe

    (@lungaxe)

    Hello,

    Many thanks for your answer.
    I checked and still not works, I’m not sure what I’m doing wrong.

    If I insert “directory/page1/” and “directory/page2/” works fine, cache are cleaned on this pages, if I use Regular expression, not works.

    Tested and works fine:
    directory/
    directory/page1/
    directory/page2/

    Not works fine:
    directory*
    /directory*
    /directory/.+
    directory/.*
    /directory/.*
    … others Regular expression tests seems not works…

    Any clue what can be wrong?

    thanks

    Thread Starter lungaxe

    (@lungaxe)

    Based on FAQ page you shared maybe regular expressions doesn’t works on “Purge Additional Pages”?

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Regular Expression on Additional Pages’ is closed to new replies.