- None
directoryindex: 'index.html'
custom_fragment: 'AddType text/plain .tmpl'
+ - provider: filesmatch
+ path: '\.(html|tmpl|js)$'
+ headers:
+ - 'set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"'
+ - 'set Pragma "no-cache"'
rewrites:
- comment: 'frontend root rewrite'
rewrite_cond:
- '^(mstile-[0-9]{2,3}x[0-9]{2,3}.png)$ - [L]'
- '^(opera_160.png)$ - [L]'
- '.* /404.html [R=404,L]'
- - provider: filesmatch
- path: '\.(html|tmpl|js)$'
- headers:
- - 'set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"'
- - 'set Pragma "no-cache"'
- provider: location
path: '/'
limit_except: