Etag and custom cache time

Version 1.52


Previously, static static files, images, css files, js, files, etc... all used a default cache time of 65536. (18 hours) Now, DA supports Etags, so the browser can ask DA if any file has changed, and DA will respond accordingly if it has or has not. Also, those static files will still have a default cache time, but is now lowered to be 3600 seconds (1 hour) AND you can change this value in the directadmin.conf. The internal default is: cache_time=3600 so override that if you want it to last longer/shorter, which can be handy if you're developing a new skin, and don't want to hard refresh everything all the time.

Interested to try DirectAdmin? Get a 30-day Free Trial!