Workers invoked on origin request

Hi,

We were trying out CF workers one thing that’s very disappointing with workers is there is no way to trigger a logic only for origin requests like what’s provided by other CDN providers like

CloudFront lambda@edge or Akamai edge workers

This will be a very useful feature for many people CF has all the tools like d2 and the key-value store in building complex logic but not having the trigger point is a setback.

Also, the URL-based triggers are also not very usable as it don’t support simple dynamic patterns well
eg: if I want to trigger workers for /<random_string>/h/uiu-*

the current dynamic pattern doesn’t work this is very easily achievable in CloudFront with cache behavior
I really like CF supporting regex in many other rules but for workers, it’s not usable

I hope workers improve on basic features