there's not much to use really, the package works automatically when you've installed it.
Do you have a running website in your installation with a few css-files and js-files? If so, check the source of the pages of the website. You should see references to js.axd and css.axd instead of the regular stylesheet or script-references.
Gzip compression on js, css files
Does anyone know how to implemenet this in Umbraco?
Take a look at Peter's compression package
Thomas
Have a look at Peter's package here. Might be what you're looking for (and will be included in v4.1)
Cheers,
/Dirk
how to use PeterD's package? :-)
Actually just to clarify Dirk's post, we'll be using ASP.Net Client Dependency in Umbraco 4.1 - http://clientdependency.codeplex.com/
But to use Peters package it's just a matter of putting in the appropriate http modules if I recall corectly
ive installed the package - no problems .. but ... once installed .. how do i use it? :-)
Hi,
there's not much to use really, the package works automatically when you've installed it.
Do you have a running website in your installation with a few css-files and js-files? If so, check the source of the pages of the website. You should see references to js.axd and css.axd instead of the regular stylesheet or script-references.
HTH,
Peter
Negative ... i do not see any references to any .axd .. thats what bothering me .. :s
Hi Jonas, have you altered your web config to enable compression?
you need to add these (as in the post installation instructions):
<add key="umbracoDebugMode" value="false" />
<compilation defaultLanguage="c#" debug="false" batch="false">
<scriptResourceHandler enableCompression="false" enableCaching="true" />
Next, add 1 line to the <httpModules>-section
<add name="HttpCompressModule" type="PeterD.Compress.HttpModule,PeterD.Compress"/>
Next, add 2 lines to <httpHandlers>-section:
<remove verb="*" path="js.axd,css.axd"/>
<add verb="*" path="js.axd,css.axd" type="PeterD.Compress.CompressionHandler,PeterD.Compress"/>
or if you're using IIS 7 and integrated mode then the following:
in modules:
in handlers:
Hope that helps and you get it working...
- Tim
thanks .. :)
dont know what it was - but its working now .. :-)
sweet, good to hear.... vote Peter's package up in the projects section if you get time. It's pretty nifty and he deserves the kudos :)
is working on a reply...