statamic / v2-docs

Statamic v2 Documentation
https://v2.statamic.com
54 stars 131 forks source link

IIS web.config for static caching failed #392

Open pmeissner opened 5 years ago

pmeissner commented 5 years ago

I tried the docs recommended rules to enable static caching in the web.config, BUT if a static html file didn't exist Statamic wouldn't create one which ended up in a 404.

Peter cracked the code by adding a condition. See answer in forums. If I static file doesn't exist Statamic will now create one.