From: Arnold P. <ap...@ma...> - 2005-06-28 15:03:10
|
<html> <body> Arnold Pizer wrote: <br> <blockquote type=cite class=cite cite="">Hi, <br><br> I have two questions about compression, one local and one global. <br><br> The local one: In UserList.pm you can now sort by clicking on a label which uses the GET method (I experimented with a POST method but it didn't look good).</blockquote>You could still have links and use POST if you used a little javascript. After all, this page <i>already</i> uses javascript in the upper portion. As long as the fallback for people who don't have javascript enabled is not too confusing, it seems like a reasonable approach. For example, the link could be to a separate window which just says that you need javascript enabled for the link to work, and then have javascript handle "onclick" so that if you do have javascript, you get the result of the JS (which would be the form submission), otherwise you get the separate window explaining why nothing good happened.<br> <blockquote type=cite class=cite cite="">The problem is ... people would have to install compress::Zlib. Does anyone have an objection to this? Would this be useful in other places? Is there a better compression module?</blockquote>I don't see a problem. It doesn't seem hard to install - I just tried on a relatively new server and it was already installed.<br> <blockquote type=cite class=cite cite="">The Global question. Would it be a good idea to consider and/or experiment with using something like Apache::Dynagzip to compress all WeBWorK output? Look at <a href="http://perl.apache.org/docs/tutorials/client/compression/compression.html"> http://perl.apache.org/docs/tutorials/client/compression/compression.html</a> for a discussion of this. </blockquote>Looks interesting. I don't know so much about how webwork integrates into apache, but this looks like something sites can experiment with independently, modifying their apache installation rather than changing anything in webwork, right?<br><br> John<br><br> <x-sigsep><p></x-sigsep> Prof. Arnold K. Pizer <br> Dept. of Mathematics <br> University of Rochester <br> Rochester, NY 14627 <br> (585) 275-7767<br> </body> </html> |