New skin type JS_ for javascript files.

Version 1.43


The old javascript files were added in with the HTM_JAVASCRIPT option, which used text/html as the content-type. Added a new file type JS_ which will set Content-Type: application/javascript. It will also skip the "no cache" header options, so the pages will load faster, when this is used. This also means that you'll need a full cache dump (ctrl-F5) if you're doing javascript programming through DA.. else you'll keep getting the cached version. The DA skins have not been changed to use JS_, as HTM_ works fine for our purposes.

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