Hello F. Buratti,

I would use your server to gzip the regular javascript files.
I included the gzip files mainly to show how small they could be.

http://httpd.apache.org/docs/2.0/mod/mod_deflate.html
http://www.thinkvitamin.com/features/webapps/serving-javascript-fast

Or you can put the js and .gz files in the same directory and use the
following settings to load the .gz file if
the browser supports it.

# # # # # # # # # # # # # # # # # # #
#
#    Mod Rewrite: Security/Gzip
#    http://zuble.blogspot.com/2007/02/compressed-js-and-modrewrite.html
#    
http://blog.joshuaeichorn.com/archives/2007/01/10/compressing-javascript-and-css/#comment-180006
#    http://www.yeraze.com/article.php/20071129102823109
#    http://jupiterit.com/wordpress/?p=202
#
# # # # # # # # # # # # # # # # # # #

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /

# gzip compression on static files
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{REQUEST_FILENAME}.gz -f
RewriteRule ^(.+) $1.gz [L]

</IfModule>

The readme_first.txt has some more suggestions as well.

- JDD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to