So , My company uses a FTP over TLS to serve its website. ( I personally think its not the best way as you can use many other cloud solutions but the company wants to stay lean and simple)
So , My question is a two part question:
Is sftp for a static website good enough in 2022? What if I want the FileZilla ftp cache second revisits and Improve loading times?
If I use SFTP, Can I use npm to add modules and how would webpack work in a SFTP server? Should even be using npm for a static website with no database ?
What I have tried to achieve and what do I expect ?
So , I tried minifying the files and it asks me to use PurgeCSS.
but I can only use it as a cli or a npm module .
Should I use it as a cli tool , minify the html css (treeshake the unused css classes in html and server it as inline html) or I add npm to the ftp server and hope that it doesnt bloat it up ?
PS: Never used npm with ftp server.