It is only 630mb and the max size should be 5gb for free. So why does your site crash when I try to upload my files?
Oxy
2
The size limits are:
HTML, PHP and JS files are limited to 1 MB.
.htaccess files are limited to 10 kB.
All other files are limited to 10 MB.
I don’t understand this… you are probably using the wrong terms
MonstaFTP ?
Please use FileZilla
Then I cant upload my website here, cause several of my javascript files and php are bigger than 1mb.
Oxy
4
JS = Minify them = code in one line (search Google with “minify javascript online”) or split them into multiple files
for PHP, try removing comments and the like
Admin
5
A few other tips, especially for PHP code:
- Try splitting your big files into smaller, separate files, and use require/include statements to merge them at runtime.
- If you use Composer, try running without the optimized autoloader (the generated autoloader files can get quite big).
- Try to avoid using PHP files as data files. If you have to store more data, other file types like
.json or .bin can store up to 10 MB of data.