Joined: Apr 28, 2006 Posts: 150 Location: doncaster england
Posted:
Wed Aug 26, 2009 1:39 am
hey guys i came accross this result by mistake after using this method to compress my html includes in my theme i noticed that the memory usage dropped upta 40% on my site by the time i finished adding it to various places.
At the cost of CPU cycles. For websites where the page essentially its processed and sent to the user, thus the memory discarded, this doesn't really save much. Page loading time is not worth the expense.
You could easily optimize your external files by removing those spaces... but you lose the flexibility to edit them. I prefer to go for usability and documentation rather than figure out every little trick to compress data.
Joined: Apr 28, 2006 Posts: 150 Location: doncaster england
Posted:
Wed Aug 26, 2009 9:58 pm
Evaders i used this as an alternative to removing them manually it also removes html and css comments im sure there can be many other ways to compress data but this i feel is the best way with out compramising the code and on pages with many hundreds maybe thousands of lines it can reduce the output of lines by around 30% +
Raven im sure you have in your time worked on sites or had site owners with sites on poor hosting and this would be a good way to cut out some of the hanging that comes with memory usage overload and if just 10% of sites on a single server used this method im sure server masters would see a big drop in memory usage
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum