Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Javascript/CSS on the fly

by belg4mit (Prior)
on Dec 05, 2005 at 22:12 UTC ( [id://514259]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Javascript/CSS on the fly
in thread Javascript/CSS on the fly

That's only an issue if it isn't inlined. And if it isn't inlined you can allow for caching better by providing some parameter in the URI to tie it to the page or set of pages it was generated for /applies to.

--
In Bob We Trust, All Others Bring Data.

Replies are listed 'Best First'.
Re^4: Javascript/CSS on the fly
by mickeyc (Initiate) on Oct 28, 2009 at 20:50 UTC
    I recently wrote a mod_perl output filter which sits inside Apache. It intercepts requests for .css files and then "compresses" them on the fly before sending. It's not gzip compression, what it does is strip whitespace, comments, newlines etc. Check it out here: Compressing CSS on the fly

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://514259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found