Developer forum

Forum » Dynamicweb 10 » Missing cache-control on static files

Missing cache-control on static files

Kevin Steffer
Kevin Steffer
Reply

I can't find any settings nor info on how to manage cache-control on static files.

Test: https://twodayco3.dw10demo.dynamicweb-cms.com/
Running: v10.10.0
Request headers:

Request URL:
https://twodayco3.dw10demo.dynamicweb-cms.com/Files/Templates/Designs/Swift/Assets/css/styles.css?638630435500000000
Request Method:
GET
Status Code:
200 OK
Remote Address:
81.95.249.227:443
 
 

 

Response headers: 

accept-ranges:
bytes
content-encoding:
gzip
content-type:
text/css
date:
Wed, 27 Nov 2024 09:14:49 GMT
etag:
"1db10d774be81a4"
last-modified:
Fri, 27 Sep 2024 12:19:10 GMT
vary:
Accept-Encoding
x-powered-by:
ASP.NET

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Kevin

Currently we only have response caching options from IIS using web.config. We are actively looking into adding middleware to add response caching for static files so Dynamicweb can control this and not the hosting environment.

BR Nicolai

 

You must be logged in to post in the forum