CodeIgniter Forums
delete helpers and libraries i dont use? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: delete helpers and libraries i dont use? (/showthread.php?tid=29532)



delete helpers and libraries i dont use? - El Forum - 04-12-2010

[eluser]ajsie[/eluser]
if i want to make CI thinner, could i just delete all the helpers and some of the libraries?

eg.

HELPERS:

almost every helper

LIBRARIES:

ftp
email
pagination
xml-rpc
cart
html
calendar

would that make CI more slim? and i donĀ“t need the things i mentioned so i see no reason leaving them there.


delete helpers and libraries i dont use? - El Forum - 04-12-2010

[eluser]skunkbad[/eluser]
You can delete them, but it won't make your site faster. These resources are only loaded when you load them, so if you aren't loading them, they are only taking up disc space.


delete helpers and libraries i dont use? - El Forum - 04-13-2010

[eluser]mddd[/eluser]
Just keep them. The whole CodeIgniter system is super small. If you need those libraries or helpers later, it will only be a hassle. And like skunkbad says, it doensn't slow it down. The files are simply not used.


delete helpers and libraries i dont use? - El Forum - 04-13-2010

[eluser]n0xie[/eluser]
[quote author="ajsie" date="1271148266"]if i want to make CI thinner[/quote]
If you don't use them, they aren't loaded. So besides saving a couple of extra kb of space, you won't actually gain anything from removing them, nor make CI 'thinner'.