My all.min.js is being deleted every time, i tried put the js directly on index.php and that deleted my index anyone knows why?
This?
Is it over 1MB?
yes, is the font-awesome all.min.js
You’ll need to find a way to either reduce the file size, split it into multiple files, or (since you mentioned it is FontAwesome) include it from an external CDN.
Hi victorsalbego,
Copy this, it’s free
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/js/all.min.js" integrity="sha512-u3fPA7V8qQmhBPNT5quvaXVa1mnnLSXUep5PS1qo5NRzHwG19aHmNJnj1Q8hpA/nBWZtZD4r4AX6YOt5ynLN2g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
source:
Cheers!
Thanks
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.