v2-docs icon indicating copy to clipboard operation
v2-docs copied to clipboard

IIS web.config for static caching failed

Open pmeissner opened this issue 7 years ago • 0 comments

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.

pmeissner avatar Dec 04 '18 21:12 pmeissner