Title: Regex for Cache Timeout
Last modified: October 11, 2016

---

# Regex for Cache Timeout

 *  Resolved [tntrush](https://wordpress.org/support/users/tntrush/)
 * (@tntrush)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/regex-for-cache-timeout/)
 * I would like to enter in the cache timeout a rule that includes any URI that 
   does not start with a number.
 * Would the following regex work?
 * ^[^0-9]

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/regex-for-cache-timeout/#post-8278068)
 * no, sorry.
 *  Thread Starter [tntrush](https://wordpress.org/support/users/tntrush/)
 * (@tntrush)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/regex-for-cache-timeout/#post-8292081)
 * OK …
 * I have a url:
 *     ```
       https://subdomain.mysite.com/classical/
       ```
   
 * I have scheduled 3 successive entries in cache-timout:
 * The first one was:
    if request uri starts with ‘c’, delete files Once a Day It
   did not work (after one day). I changed it:
 * The second:
    if request uri starts with ‘c’, delete files Once Daily It did not
   work. I changed it again:
 * The third:
    if request uri starts with ‘classical’, delete files Once a Day Nothing
   again.
 * How are these commands ignited? Could it be an issue if at a certain time, the
   site has no visitors, for example?
    -  This reply was modified 9 years, 7 months ago by [tntrush](https://wordpress.org/support/users/tntrush/).
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/regex-for-cache-timeout/#post-8292096)
 * are you that wp schedule works properly in your system? Can you add a scheduled
   post please? Let’s see that it is released or not.
 *  Thread Starter [tntrush](https://wordpress.org/support/users/tntrush/)
 * (@tntrush)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/regex-for-cache-timeout/#post-8292886)
 * Indeed, I have an issue with the previously defined cron-jobs which hit on wp-
   cron.php.(I have set `define('DISABLE_WP_CRON', true);`)
 * I will try to solve it, thank you!
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/regex-for-cache-timeout/#post-8300720)
 * you are welcome 🙂 if you vote, you make me so happy.
 * [https://wordpress.org/support/plugin/wp-fastest-cache/reviews/?rate=5#new-post](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/?rate=5#new-post)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Regex for Cache Timeout’ is closed to new replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

## Tags

 * [regex](https://wordpress.org/support/topic-tag/regex/)

 * 5 replies
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/regex-for-cache-timeout/#post-8300720)
 * Status: resolved