php - Does a compressed XML file affect performance and memory ? What are some tips for a better XML? -


my question if there easy way compress xml file. read exi, gzip , similar, didn't understand how it, or if question possible.

what trying achieve reduce size of xml file use simplexml. possible , if is, have impact on speed/performance/memory ?

also, large xml file considered large based on size or number of elements?

are there tips should follow "better" xml?

the best way can think remove unnecessary data possible. i.e. don't make formatted human readability. include many unnecessary spaces/tabs/newlines. use self closing tags whenever possible , reduce content down bare minimum still meets xml specs. i'm sure there compressors out there this. kind of "compression" not require decompression before parsing, in turn may not save space.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -