| Author | Messages | |
David L
 Posts:17

| | 12/10/2007 2:23 PM |
| I've just started using PageBlaster for my ASP.NET (MCMS) site and I do not appear to be getting any compression. This is an anonymous get request (see link in report below). I've tried accessing with IE7 and the latest version of Firefox, so I don't think it's a browser limitation. Is there something else I can look at? Here's the report from pipeboost.com: URL Downloaded: http://206.47.50.60/NR/exeres/D840973A-4
E0A-40FC-A935-78C66FC81F64.htm
Document Status: Uncompressed | Uncompressed File Size: | 100,492 | | Compressed File Size: | 21,425 | | Compression CPU Time Consumption: | 0.0313 | | Compression Ratio: | 9 - Highest | | *File Size Reduction: | 78.68% | | Downloads Speed Improvement: | 369% | | *Please note, that URL Compression Report will not process frames, entry redirect pages, Java Script includes and Style Sheets. Please specify exact URL location if you want to get very specific results. |
Downloaded HTTP Headers: | Header | Value | | Date | Mon, 10 Dec 2007 20:19:19 GMT | | Server | Microsoft-IIS/6.0 | | X-Powered-By | ASP.NET | | X-AspNet-Version | 2.0.50727 | | CacheKey_19_19 | ip=-1,-1&ck=1,2,3,6,7,8,9,10,11,14,15&FRAMELESS=false&NRNODEGUID={F7C42C88-D79A-41AF-B110-E8AC7B1BD06F}&NRORIGINALURL=/NR/exeres/D840973A-4E0A-40FC-A935-78C66FC81F64.htm&NRCACHEHINT=NoModifyGuest&ctm=15_19_19 | | CacheKey_19_19 | ip=-1,-1&ck=1,2,3,6,7,8,9,10,11,14,15&FRAMELESS=false&NRNODEGUID={F7C42C88-D79A-41AF-B110-E8AC7B1BD06F}&NRORIGINALURL=/NR/exeres/D840973A-4E0A-40FC-A935-78C66FC81F64.htm&NRCACHEHINT=NoModifyGuest&ctm=15_19_19 | | X-Snapsis-PageBlaster | v:2.1.1;c:- | | Cache-Control | no-cache | | Pragma | no-cache | | Expires | -1 | | Content-Type | text/html; charset=UTF-8 | | Content-Length | 100492 |
| | | |
| |
| John Mitchell Posts:2779


| | 12/10/2007 2:44 PM |
| | The exclusions in the config file can keep the page from being compressed. Try removing all exclusions to make sure they are not interferring. | | | |
| David L
 Posts:17

| | 12/10/2007 2:53 PM |
| I tried removing the entire excludePaths element and just the path elements but received an error. My excludePaths section and the error are listed below:
Error: [FileNotFoundException: Could not load file or assembly 'Snapsis.ReplacementEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.] Snapsis.HttpModules.PageBlaster.GenericFilterProvider.Write(String inputHtml) +0 Snapsis.HttpModules.PageBlaster.PageReplacementsFilter.Write(Byte[] buffer, Int32 offset, Int32 count) +959 System.Web.HttpWriter.Filter(Boolean finalFiltering) +251 System.Web.HttpResponse.FilterOutput() +85 System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +46 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 | | | |
| John Mitchell Posts:2779


| | 12/10/2007 2:57 PM |
| | Keep the excludePaths parent element, but remove all the child path nodes. | | | |
| David L
 Posts:17

| | 12/10/2007 2:59 PM |
| | That's one of the things I mentioned trying and got the same error. | | | |
| John Mitchell Posts:2779


| | 12/10/2007 3:08 PM |
| Ok, from the error, it looks like you are running an older version and you do not have the ReplacementEngine. I have attached the ReplacementEngine to this post. |
Attachment: Snapsis.ReplacementEngine.zip
| | |
| David L
 Posts:17

| | 12/10/2007 3:17 PM |
| Added it and get this:
[NullReferenceException: Object reference not set to an instance of an object.] Snapsis.ReplacementEngine.Configuration.GetConfig(String configXML) +305 Snapsis.ReplacementEngine.Controller..ctor(String configXml) +18 Snapsis.HttpModules.PageBlaster.GenericFilterProvider.Write(String inputHtml) +29 Snapsis.HttpModules.PageBlaster.PageReplacementsFilter.Write(Byte[] buffer, Int32 offset, Int32 count) +959 System.Web.HttpWriter.Filter(Boolean finalFiltering) +251 System.Web.HttpResponse.FilterOutput() +85 System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +46 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 | | | |
| David L
 Posts:17

| | 12/11/2007 9:35 AM |
| | Am I missing another config setting or file? | | | |
| John Mitchell Posts:2779


| | David L
 Posts:17

| | 12/11/2007 10:51 AM |
| | Thanks again John. That worked! Commenting out the exlude paths with the new version got us serving compressed pages. | | | |
| John Mitchell Posts:2779


| | 12/11/2007 10:54 AM |
| | Excellent. You can also remove that Snapsis.ReplacmentEngine.dll from your /bin folder. | | | |
| David L
 Posts:17

| | 12/11/2007 10:57 AM |
| | And the SharpLib, right? | | | |
| John Mitchell Posts:2779


| | 12/11/2007 10:59 AM |
| | You still need the SharpZipLib.dll | | | |
|
|