Quick Nav:  Online Store   |   Login | Register

Version 3.0 Beta Test FeedBack

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
DavidWSnow
<250Posts
Posts:162


02/06/2008 11:48 AM  

I was actually considering Scott M's "where are they?" module and placing it on au uncached page that only employees could see. What I wa woried about is that anonymous users might not ever get recorded, not about pagerperformance.

/DaveS

John Mitchell
Posts:2780


02/06/2008 12:29 PM  

Using JS & CSS minifying utilities such as YUICompress can yeild better results than PageBlaster alone, but most people would rather have it done "on the fly" then having to manually work on performance and optimization.

I plan to incude as many click & go optimizations as possible in PageBlaster, but the tradeoff there is a one-size fits all approach. 
Where you might be able to squeeze a little more out of it if you do it yourself.

I also see that YUI Compressor is open source and BSD so maybe I can integrate a few of their tricks.

DavidWSnow
<250Posts
Posts:162


02/06/2008 1:01 PM  
I suggest that you do some testing first. I YUIcompressed my large commented skin file and it was reduced over ~66%, but was unreadable and a single line. I told the program "--line-length 0" which equates to put a return at the end of each css statement. The result this time was ~50% and the file was more readable. If you just do white space compaction I suspect that you'll get ~80-95% and people won't have to take action, maintain two sets of files etc. I might suggest appending "-orig" to the name of the dirty dozen files and YUIcompresing them back to their original name would be an easy piece of work for administrators. Since these files are static this should be no problem. I don't think that I would YUIcompress my skin file because I seem to be touching too often to be willing to mess with the extra manual steps.

The YUIcompression should be a big win if you have enabled ajax and have to deal with huge js files. I have it disabled and didn't even search for those files. My ajax is from ListX and I didn't any huhe js files in it.
/DaveS
John Mitchell
Posts:2780


02/06/2008 1:09 PM  
I forgot to mention that the Http Compression will more than likely be "enough". That alone will reduce your pages to around 25% of their original size. Removing white-space and comments can reduce the page size a lot, but Http Compression does that and a lot more.

I'll go ahead and put just the white-space removal in for now, which will help for those sites that are not able to send the CSS through Http Compression.
John Mitchell
Posts:2780


02/06/2008 1:58 PM  

You're right, if the page is cached they won't get recorded.  One way to combine performance with logging is to cache the page, but include an invisible iframe at the bottom that has a page that is not cached as it's source.

This is what I do in the new "Save As Static File" feature to insure that the page cache is still checked for expiration.

If you haven't seen that new feature yet you can find it in the config under virtual path.

Save As Static File

Saving a page as a static file also gives you the ability to have a url that is just a folder name.
To do this just enter a virtual path that will save the file as a Default Document for your website (usually default.htm or index.htm).  When you check the box to save a static file then PageBlaster will create the physical folders and put the file in that folder.  It will not write over any existing files and you have to use a .htm extension for the file to be written.






green flash
<50 Posts
Posts:44


02/07/2008 2:57 AM  
Posted By John Mitchell on 02/03/2008 3:44 PM

Ismet,
You should be seeing a PageBlaster Admin that looks like the Configure screen when you put the module on a page. 
Have you tried un-installing and re-installing?  I'll get that CSS fixed in the next build.

Yes, John problem is fixed with new release but if i enable PageBlaster i got some Parse Errors with CSS, i m investigating them now.


DotNetNuke Türkçe
DavidWSnow
<250Posts
Posts:162


02/07/2008 3:30 PM  

Just trying V3.0.2 and the 302 redirect







}else{

} ]

This will redirect dsnow2.dnsalias.com/asi3 to localhost/asi3 but not any other pages. Your post refers to a "pattern"  I tried a a regex  (/.*) after the asi3 and $1 appended to the responce.

While I would be happy with just rediredting AgingSafely.com to www.AgingSafely.com, it would be nice if all of the pages did as well.

PS shouldn't the top half of the "if else" end with just to be nice ;=}

Think that it is important that you have a good example of this redirect in your saved rules, because many people SHOULD want to use this feature.  Typing it in is a pain the the rear.

 

Can one use this to for 301 redirects for pages that don't exist any longer to redirect to the right page? i.e If you don't a http://mysite.com/a/b/c/default.aspx where to you put the page rule?  Maybe 20 portal wide redirect rules that get executed on every page???

 

/DaveS

 

John Mitchell
Posts:2780


02/07/2008 3:42 PM  

So you are wanting to redirect all pages from one domain to another domain, but leave the paths (the part after the domain name) the same?  
That would be handy, and it is something you can do in IIS using placeholders, so I guess PageBlaster should do that too. 
That match function doesn't currently have the ability to pass the captured groups down into the other parts of the IF statement, but I think I can add that.

Good idea about encluding an example in the saved rules.  I also want to try and get a nice library of rules going here on the site so that people can copy and paste, plus I plan on having the ability to save all the rules from a node you click on to a file that can be loaded back into a node later.

 

What is the question about the Else not ending?  Maybe you are referring to something other than the closing curly brace. 
The curly braces open and close the true part and the false/else part.

John Mitchell
Posts:2780


02/07/2008 3:44 PM  

BTW, The  else { } part is optional. Maybe that is what you meant.

DavidWSnow
<250Posts
Posts:162


02/07/2008 3:47 PM  

the !@#$%^ forum ate my PB example of the redirect example.

This was placed there because IMHO you are missing a  /head above the else, when you redirect you are eating the ending head tag. 

/DaveS

 

DavidWSnow
<250Posts
Posts:162


02/07/2008 5:56 PM  

After testing on my local host I tried this on my production system. I have the redirect working for agingsafely to www.agingsafely.com.

I also had a styles test page for my skin that is a large HTML page with a couple images. Note: this mage is visible by all user but not in the menu. I disabled PageBlaster (ie ExcPath=.* ExcFrom=ALL) on this page for all functions. I cloned this page (here) and enabled PageBlaster for functions. (ie ExcPath=.* ExcFrom=NONE) This page has one replacement rule.

While doing this I saw some strange behavour:

At first I got JavaScript errors while saving the page as I moved the text into the new HTML module from the FCKeditor.  This finally went away and I don't know why!

If I look at my home page I see your VeryLogNamed.css file. I don't see it my test page with PB enabled

YSlow show 7 external JS and CSS files which is the same as the page with PB disabled.

What little performace testing show little changes.

/Dave

 

John Mitchell
Posts:2780


02/07/2008 6:16 PM  

It doesn't look like PageBlaster is actually enabled.

Did you say you have everything disabled globally and you enabled it only on that page?
If so that may be the reason. 
If PageBlaster has been disabled for ALL in the global config file (the one in your web root) then the individual pages can not re-enable themselves.

It does look like it is enabled on your home page although I don't see that page caching.

 

 

 

DavidWSnow
<250Posts
Posts:162


02/07/2008 6:51 PM  

PageBlaster is enabled Globally - look at the home page - I rechecked in web.config.

It is doing replacement on the home page - it wouldn't pass w3c xhtml if it wasn't!  PB for this page has Exc=NONE

You got it. It is enabled globally, only disabled on a couple of AJAX heavy pages. Doing replacements just fine and not doing much for performance.

If you need files or anything else let me know.

/DaveS

John Mitchell
Posts:2780


02/07/2008 9:36 PM  

For some reason it is not enabled at all on the Test page that is supposed to be enabled.

You should not have to specifically enable it, if it hasn't been specifically excluded.

Try running a trace to see why it isn't processing that page.

A couple other things i noticed:

You are getting 404's on those smilies i think because of a double / in the src attribute. PageBlaster could fix that. 404's really slow down a page.

The javascript at the top that comes with the ActiveResetHover template of my NavMenu should be moved to an external JS file.
You can link to it just like the CSS file is linked in the template. 
The reason I didn't do it that way in the package is because DNN does not allow .js files to be uploaded with skins (crazy).
It won't gain you a lot of size on the page, but it will allow it to be cached on the client.
When I get the MergeJS working I will also have PageBlaster put those inline JS scripts at the top into the merged file if you want to wait.

 

DavidWSnow
<250Posts
Posts:162


02/07/2008 9:49 PM  

I'm getting 404s on the smilieys because DNN 4.8.0 BROKE smilies from the FCKeditor when the HTML module went to relative paths. Do you know that 404s aren't even flagged by W3C's validator. I was missing a print.css because I had moved it into the css code and forgot to remove it from the javascript in the skin.aspx files. I left them as place holders to remind me to complain, but I'll remove them for testing this.

How do I run a trace?

You are going to put js scripts at the top. Yahoo thinks the bottom is better ;=}

I'm not sure that I understand the js linking in the menu template but I will go look at it and get back if I have questions. That I will have to test on my clone.

 

/DaveS

 

John Mitchell
Posts:2780


02/07/2008 10:11 PM  
Right, the W3 validator does not check 404's becuase it is only validating that your Markup is valid in the page, it doesn't actually check your server to see if the resources are there.

You run a trace by putting Level="Debug" in the trace node of the config file and specifying a filePath for the trace file.

Yes, I will probably leave JS at the top since it may break things to move it to the bottom. I don't know though, if it is in the Head, it shouldn't have any direct document.writes in it, so maybe it would be safe to put it in the bottom. The bad part is that there is a lot of JS links that are inside the body. But than again they do come before any real content so maybe those can be moved too. I'll do some experimenting with that.
John Mitchell
Posts:2780


02/07/2008 10:31 PM  
You got it right except for don't put that SkinPath variable in the template, the template parser handles that automatically.
DavidWSnow
<250Posts
Posts:162


02/08/2008 10:07 AM  

My 301 redirect was masking the error message that was causing me to get the default DNN skin rather than my own

Could Not Load Skin: /Portals/_default/Skins/ASI-skin6/1pane.ascx Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\ASI3-Total\agingsafely.com\httpdocs\portals\_default\skins\asi-skin6\web.config line 75)

Line 75 is the MachineKey which is set just fine.

------------------------------------------------------------------

I made a new clone of my production site and started anew.  I got the skin to show the menu ok, so I am not sure wha the problem above was. However, I net JS errors in Firebug now when I mouce over the menu complaining that "NavMouseOver" is not defined even though the CSS hover is changing the images.

The child menu isn't displaying either.

FireBug clearlyshow that the correct js file is being read.   Any ideas for this?

I now have a localhost clone of the production site that we can debug during the day. It appears to me to be acting the same as the production site.

I gave trace=debug and for TestWithPB page and ExcPath=".*" and Exc="None"  the trace shows

Url=http://dsnow2.dnsalias.com/ASI3/Default.aspx?TabId=974
2/8/2008 9:05:55 AM PB:PageController:IsPageExcluded: Page automatically excluded from using ExcludedPathTable.config:

BTW to I really have to stip IIS to be able to read and copy this file or is ther an easier way. It would be a real pain on a remote system.

It does appear that the CSS is being merged.

BTW when I installed V3.0.2 it was the initial upgrade from V2 on the site, so the possibility of an upgrade error exists

I just looked at the log viewer and think I see the issue. I have a few of these.

John, If needed I can arrange access to this system for you

[script removed]
PageBlaster-DNNModuleControl: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at Syst

/Dave


Attachment: 128455667471.txt

jens lewald
<50 Posts
Posts:40


02/08/2008 12:27 PM  

hi,

thank you very much for version 3.02. this version works at moment like a charme for me.

my 100 cpu loads are gone, without exclude the pages that makes problem before.but it´s good to have the option if some modules maybee make problems.

thanks jens

allane
<20 Posts
Posts:9


02/08/2008 12:38 PM  

John: You're obviously working hard on new version and it sound really cool! I've decided to buy PageBlaster as it will solve a lot of issues with my site. But I'll try to wait until ver. 3.0. Do you have any idea about when it will be available? Is it almost there or could it be weeks or months?

Thanks a lot!

-AllanE

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 > Version 3.0 Beta Test FeedBack



ActiveForums 3.7
Powered by: Snapsis Software