Quick Nav:  Online Store   |   Login | Register

.axd file added to header when CSS merging is switched off

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
eoghan o'neill
<50 Posts
Posts:38


05/13/2008 9:06 AM  

Over the weekend I installed v3.3.1 but I did not switch on the CSS merging function. However I see in my soruce code that a .axd file (which is totally blank) is being linked to from the header of each page in my portal.

Is this the internded behaviour of default installs of Pageblaster? Because it adds an unneccessary extra requst each time from the browser to the server.

Thanks.

eoghano

John Mitchell
Posts:3276


05/13/2008 9:29 AM  

Merging of CSS is not on by default, unless for some reason you have a CSS link to a file that does not have a .css extension.

The following line in the Snapsis.PageBlaster.config file keeps the merge from happeing on .css files:

            < path pattern="\.css$" excludeFrom="MergeCSS" />

You can change that to exclude all files from the merge process like this:

            < path pattern=".*" excludeFrom="MergeCSS" />

eoghan o'neill
<50 Posts
Posts:38


05/13/2008 4:36 PM  

John,
Thanks for the speedy reply. I double-checked and - as I expected - all my CSS links are to files that have a .css extension. However I did note that for one of them the URL for the .css file has blank spaces in its path:

/DNN/Portals/0/Skins/reviews - variable width/skin.css

I suspect these spaces are the problem? Can you advise a way to account for such a naming convention of a skin folder in the excludeFrom="MergeCSS" path pattern?

Thanks.

Eoghano

John Mitchell
Posts:3276


05/13/2008 4:45 PM  
To only exclude file paths with a space from MergeCSS you could do it like this:

< path pattern="\s" excludeFrom="MergeCSS" />

If that fixes it let me know. The code should be able to handle that case so I'll get it fixed.
eoghan o'neill
<50 Posts
Posts:38


05/13/2008 5:14 PM  
John,
I added into the Snapsis.PageBlaster.config file the new path pattern you advise above (deleting of course the space before 'path'). I added it in just below the < path pattern="\.css$" ..... > line, I then did an app restart and CTRL + F5 in both Firefox & Opera to force a refresh of the cache however the .axd is still appearing. I'll PM you the URL of a page demonstrating this and hopefully we can get it sorted.
Thanks.
Eoghano
John Mitchell
Posts:3276


05/16/2008 7:48 PM  

Hi Eoghano,
I just found a bug in the CSS Merge process which may or may not help with your issue, but if you want to give it a try I have attached the new dll to this post.


Attachment: 1516483744871.zip

eoghan o'neill
<50 Posts
Posts:38


05/17/2008 11:57 AM  
Nice work John. That new DLL fixed it for me! Cheers. eoghano
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 > .axd file added to header when CSS merging is switched off



ActiveForums 3.7
Powered by: Snapsis Software