How do I set up a rule to insert all files with a .doc extension, for example, into any folder in the domain?
I am sorry but that question doesnt make much sense. You dont insert anything into any directory with Cloudflare.
Can you provide a few examples of what you want to achieve?
Taking a shot in the dark here but are you thinking of something like Microsoft Flow?
https://flow.microsoft.com/en-us/
It would be page rule, example. www.mydomain.com/*.doc that covers all subfolders www.mydomain.com/documents/doc1.doc, www.mydomain.com/doc/doc2.doc, and so on.
And what is the problem in setting up that page rule?
I wonder if this rule mydomain.com/.doc will cover all subfolders that have files with .doc extension. Or if I have to create a rule also for each subfolder, such as: www.mydomain.com/documents/.doc.
It should. Havent you tried that? Ten days is a long time to try out something like this
How do I see that it is working? Is there any option on the panel? I was disappointed by the response time, had not seen that you had answered
You set it up and test it. I’d suggest you do it right away so we can debug it live here on the forum. Also, post a screenshot of the page rule.
The reponse time was actually not bad, only nine minutes
Do you have a particular reason for that page rule? DOCX files are cached by default
The files are run through the cache in your case, however there is always a cache miss. Do you have any other page rules set up?
Yes, for mp4 files. www.zoetropic.com.br/*.mp4, will this rule apply to subdirectories? Thank you.
Yes, that rule should include sub-directories as well.
Can you post a screenshot of your page rules and cache settings? Unless you have some rule which bypasses everything you shouldnt need the “cache everything” rule as these files are cached by default.
This topic was automatically closed after 14 days. New replies are no longer allowed.