Quick Nav:  Online Store   |   Login | Register

Catalook and Pageblaster

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
SAD5643
<20 Posts
Posts:6


05/04/2008 9:29 AM  

Hi John

I need some assistance with Catalook and Pageblaster.  I have loaded PageBlaster using the following config

<

pathpattern="(DesktopModules(?!/Snapsis/PageBlaster)|/admin/|/host/|LinkClick|SiteMap|rss|captcha|install|thumb|\.ashx|\.asmx|tabid=66|Cart|fck)"excludeFrom="All" /> 
<
pathpattern="ctl[/=](edit|module|tab)"excludeFrom="Replacements" />
<
pathpattern="\.js$|\.css$|\.html$"excludeFrom="Replacements" />


and all the DNN js optimisation is uncommented and the Viewstate rule from your site is added.

 

I have tried the optional parts both ways and it makes little difference

If I enable Pageblaster the following occurs (results from the websiteoptimisation site):

  • the images are compressed by about 25%
  • the HTML went up by 8K
  • The Javascript went up by 100K
  • The CSS file went up by 17K

Overall the number of bytes downloaded increased.  Is something else requried to work with Catalook?

Regards

Stephen

 

 

 

John Mitchell
Posts:2750


05/04/2008 11:26 AM  

Hi Stephen,

I don't know how this can happen.  Images should never be compressed, and I don't know how it would add html.

Can you post the ouput from the test so that I can see the details of what is changing?

 

 

SAD5643
<20 Posts
Posts:6


05/04/2008 6:19 PM  

 

 

With pageblaster commented out in web.config the results are

Object Size Totals

Object typeSize (bytes)Download @ 56K (seconds)Download @ T1 (seconds)
HTML:00.000.00
HTML Images:16311033.311.66
CSS Images:37321.941.22
Total Images:16684235.252.88
Javascript:00.000.00
CSS:10255621.041.14
Multimedia:00.000.00
Other:00.000.00

 

With Pageblaster enabled the results are

Object Size Totals

Object typeSize (bytes)Download @ 56K (seconds)Download @ T1 (seconds)
HTML:00.000.00
HTML Images:15477732.252.22
CSS Images:21711.230.81
Total Images:15694833.483.03
Javascript:15973632.641.65
CSS:15157630.611.20
Multimedia:00.000.00
Other:00.000.00

 

I know the image sizes are an issue and I am looking at ways to rationalise the CSS file.

I dont know what happened to the HTML part on this run but it was small relative to the increases in CSS and Javascript.

 

 

John Mitchell
Posts:2750


05/04/2008 7:36 PM  

Those are really strange results.  I wonder why the html is zero in size.

Try removing this part of the exclude:  DesktopModules(?!/Snapsis/PageBlaster)

 

You can also try the attached DLL.  It will make it so that much fewer excludes are needed.

With the attached DLL you should also be able to remove LinkClick|SiteMap|rss|captcha|install|thumb|


Attachment: 154364352071.zip

SAD5643
<20 Posts
Posts:6


05/06/2008 8:48 AM  

 

John

I have tried your changes and the merge CSS and js still appear to be not working.  Below is the config status. 

          <path pattern="(/admin/|/host/|\.ashx|\.asmx|tabid=66|Cart|fck)" excludeFrom="All" />         
          <path pattern="ctl[/=](edit|module|tab)" excludeFrom="Replacements" />
          <path pattern="\.js$|\.css$|\.html$" excludeFrom="Replacements" />
           
           
           
        excludePaths>
     <providers>
            <provider name="DNNFilter" interface="IFilterProvider"
                  type="Snapsis.DNN.PageBlaster.DNNFilterProvider, Snapsis.DNN.PageBlaster">
 
                        <replacementRules>
                      <rule>
                        <ruleName>Move dnn xhtml js to Head
                        <searchFor>
                                     {
                                        ( .*?)([script removed]
                                     }]]]>
                        <replaceWith>$2$1
                        <repeatTimes>99
                      rule>
              <rule>
                <ruleName>Move dnn js links to Head
                <searchFor>
                  [PB:IIF([PB:Request.IsAuthenticated]=='False')
                                     {
                                        ( .*?)([script removed]
                                     }]]]>
                searchFor>
                <replaceWith>$2$1
                <repeatTimes>99
              rule>
              <rule>
                <ruleName>Move dnn.Controls inits to bottom
                <searchFor>                <replaceWith> ]]>
                <repeatTimes>99
              rule>
            replacementRules>
 
            provider>
            <provider name="DNNUserController" interface="IUserProvider"
                  type="Snapsis.DNN.PageBlaster.DNNUserProvider, Snapsis.DNN.PageBlaster" />
         <provider name="GenericFilter" interface="IFilterProvider"
                  type="Snapsis.HttpModules.PageBlaster.GenericFilterProvider, Snapsis.HttpModules.PageBlaster">
                  <replacementRules>
                  <rule>
                    <ruleName>White Space
                    <searchFor>\s+<]]>
                    <replaceWith><]]>
                  rule>
                 <rule>
                    <ruleName>MailTo Cloaker
                    <searchFor>href=['"]?mailto:(\w+[a-zA-Z0-9.\-_]*)@(\w+)\.(\w+)['"]?
                    <replaceWith>href="javascript:window.location.replace('ma'+'ilto:'+'$1'+'@'+'$2'+'.$3')"
                  rule>
                 <rule>
                    <ruleName>Move Viewstate to bottom
                    <searchFor>]+__VIEWSTATE[^>]+>)(.*?)</form>]]>
                    <replaceWith>
                                $2
                               
$1
                                </form>
                                ]]>
                    replaceWith>
                  rule>

                replacementRules>

I also have a another question.  I have set the disk-size-limit to 500MB but the cache grows to about 1.5GB.  Should this setting limit it the disk?

 

John Mitchell
Posts:2750


05/06/2008 9:45 AM  
Wow, you have 1.5GB of files in your cache folder?
Yes, the disk-size-limit should be keeping that from growing that high.
That is a lot of pages, I take it you have 1000s of products in your store.

This may be easier to troubleshoot if you can give me access to your environment.
Please contact me with the online chat at http://support.snapsis.com
SAD5643
<20 Posts
Posts:6


05/06/2008 7:43 PM  

John

There isnt 1000s of products so the size of the cache is puzzling. 

I have tried the chat line and it has timed out mutiple times waiting for you to respond??

John Mitchell
Posts:2750


05/06/2008 11:40 PM  
Sorry, I went offline. We'll need to figure out a time when we can work together.
I'm in GMT -6 CST. I'll be back online in about 8 hours from now.
SAD5643
<20 Posts
Posts:6


05/07/2008 8:06 AM  

John

I am GMT +10.  I suggest 4.30pm your time.  I will use Chat.

 

John Mitchell
Posts:2750


05/07/2008 8:11 AM  
Sounds good.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Catalook and Pageblaster



ActiveForums 3.7
Powered by: Snapsis Software