Displaying 20 results from an estimated 5000 matches similar to: "Gzip compression"
2007 Jun 05
3
Mongrel/Apache mod_deflate question
Hi Folks,
We''re moving from a single lighttpd-hosted Rails box to a Apache/
mongrel cluster.
In lighttpd, mod_compress had a very nice feature:
if there''s a static file, it would compress it in a user-specified
compress folder. If the file hasn''t changed, it would just serve out
the compress file; if the file has changed, it would recompress it
and serve it out.
2006 Oct 22
7
GzipFilter gemplugin now available
This GemPlugin will gzip your HTTP responses from mongrel if the
client says that it supports it (eg, most modern browsers). I''ve
tested it in IE6, Firefox 1.5 and Firefox 2.0RC3
Install:
gem install gzip_filter --source http://edenli.com
Configure (assuming rails):
cd RAILS_ROOT
echo ''uri "/", :handler => plugin("/handlers/gzipfilter")''
2006 Feb 10
5
Re: Manually running dispatch.fcgi fails (Please help!!)
I''m really lost on this issue. Do I need to reinstall rails / gems?
The rest of my rails setup seems to be working. I just can''t run
dispatch.fcgi. (Details in original message below).
I have no idea how to troubleshoot this. I''m not even positive it is
supposed to be runnable from the command line. I found a
troubleshooting guide that implied it was supposed to
2006 May 10
2
Output Compression in Mongrel?
I''d like to implement output compression in Mongrel (ala Apache''s
mod_deflate). I have found a Rails plugin that, with minor modification,
works.
Is there even an advantage to moving the output compression from the Rails
app to a Mongrel handler?
Unless, of course, someone knows how to configure mod_proxy_balancer with
mod_deflate...
==
Will Green
Web Developer & IT
2006 Jun 13
7
ActiveRecord attribute= overload
I want to overload the = operator for one of the attributes in a model
to run a filter on the input. However I can''t do this:
def attribute=(data)
self.attribute = filter(data)
end
because that creates an infinite recursive loop.
How do I get around this?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 10
3
WML sites
Hi all
how to make a WML view for rails pages?
I''ve tried to create like:
<wml>
<card>
CONTENT
</card>
</wml>
but my phone says unsupported content type...
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Dec 21
6
Rails'' send_file, Mongrel, and *gasp* memory
I''ve had a right fun few days at work trying to figure out why our Rails
app (which isn''t under very heavy load) kept eating memory and bringing
our server to our knees. Eventually I traced it to send_file (which was
in a way a relief as it wasn''t down to my coding ;) -- every time a user
started downloading, the memory consumed by the app would jump, and
2008 Jul 16
2
anyone know anything about using mod_deflate gzipping with Rails?
Anyone know anything about using mod_deflate gzipping with Rails? I''ve
got it enabled in our .htaccess but it doesn''t seem to handle gzip
anything going through Rails. Any ideas?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2006 Feb 17
5
getting old values
Hi all,
I''ve add :before_update event to my model
Before updating a record I want to check if new attributes differ to old attr.
My question is how to retrieve old attributes in :before_update event ?
thanks
--
gratis egold 1$ http://shegold.com/
2006 Apr 05
7
select_tag - populating options
Hello,
I want to a select tag, where you can choose a number between 1 and 100.
My inital code is based on the examples from Agile Web Development with
Rails, and looks like this:
view:
<%= options = [["Select number of lines", ""]] + RfqLines::LINE_QTY
select("rfq_line", "line_qty", options) %>
model:
LINE_QTY = select_fill
def
2006 Mar 21
4
Determining Browser?
Is there a way I can read the user agent or something similar to
determine whether the person is using IE, Mozilla/Netscape, Opera,
Safari, etc? I want to dynamically output the CSS to the browser, but
I''d like to change certain things (in this case the widths of some
divs since IE adds borders and padding size to the total size of a div
unlike firefox).
Thanks,
- Brent
2006 Jan 03
2
Reducing Memory Footprint (fcgi)
I have a website up and running on TextDrive with Rails/lighttpd/fcgi.
Unfortunately, as my account is a "shared server" account on TxD, they kill
processes that are hogging resources (quite understandably).
Unfortunately for me, my Ruby fcgi processes load up rather ... large (just
under 50mb). It doesn''t take much to push it to 50mb, at which point it
gets killed.
Does
2006 Jan 13
4
How to add virtual fields in model
I want to add virtual fields in a model.
table: field1 field2
I want to add field3 which is field1*2 + field2
I know tihs can be achieved in View, but I want it in model.
Then I will pass this model to PagerRenderer to paginate.
How to achieve this?
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Aug 13
4
Javascript compression / How to hook in to rails development
Hi there,
I thought it''s rather neat to use the javascript compression from
http://dojotoolkit.org/docs/compressor_system.html
This removes javascript comments and renames variables and seems pretty
reliable and effective.
For example, I keep the original htmlarea.js file from
http://xinha.gogo.co.nz/
in a file htmlarea.js.txt and it compresses from 200K to 100K. With
gzip it
2006 Apr 20
7
AJAX/RJS Updating of Table Rows
I''m trying to update a table row (i.e. replace a <tr></tr>) using
AJAX/RJS but of course this cannot be done in IE (works fine in
Firefox). I have googled but have not found any solutions, only a lot
of discussion. Does anyone have a solution to this problem?
Cheers,
Nicholas
2017 Sep 22
1
Apache Compression
I have a centos 7 install with apache running. How do I get apache to
use gzip compression on html and text based content?
2006 Mar 02
3
How to identify the browser?
I need to generate some browser-specific code; can I identify which
browser is being used from within my RoR code?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 21
4
acts_as_taggable clouds?
what is the easiest/established way to make a tag cloud using the
acts_as_taggable plugin? any examples would be greatly appreciated!
-A
--
Posted via http://www.ruby-forum.com/.
2006 Jan 30
2
DamageControl
Is there anyone on this list running DamageControl on a
Debian or a Windows system ? If so would you care to share
how you accomplished this (details ... it''s all in the
details) ? While I will still work through the problems I
am encountering (it''s a great learning experience) I would
still like to have a working instance of DamageControl to
use in the meantime.
I am
2006 Jun 25
17
JavaScript Compression
Is there a good windows-based JavaScript compressor which will reliably
compress script aculo and prototype?
Sam
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs