home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / spyce / *.* / compress.spy < prev    next >
Encoding:
Text File  |  2004-05-18  |  332 b   |  10 lines

  1. [[.import name=compress args="gzip=1, spaces=1"]]
  2. [[\
  3.   response.write('<html><body>')
  4.   response.write('  Space compression will remove these     spaces.<br>')
  5.   response.write('  gzip compression will highly compress this:<br>')
  6.   for i in range(1000):
  7.     response.write('  hello')
  8.   response.write('</body></html>')
  9. ]]
  10.