Host Account
 Posts:82


| | 03/25/2008 8:09 PM |
| | I'll see if I can recreate this one with the $0 group placeholder now. | | | |
|
DavidWSnow
 Posts:163

| | 03/25/2008 8:30 PM |
| Is there a way that I can cause either of the following actions using PageBlaster: - Disable caching if the user-agent is gogglebot. I think that it would be nice if I could know when google comes around. Looking at my sitelog they are never listed while MSN and others are seen, at least some times. I use ListX on the sitelog and can easily filter by many items as well as sort.
- Redirect the user to a different page if the are coming from a range of IP addresses. I have a facility that I would like to block,
Are you still testing PB3.1.1 or is there a newer version that I have missed? /DaveS | | | |
|
John Mitchell Posts:2787


| | 03/26/2008 2:56 PM |
| | Ok, the LoadFile problem was a bug. I'll be sending out a new version to everyone on the beta list soon. | | | |
|
John Mitchell Posts:2787


| | 03/26/2008 3:04 PM |
| Hi Dave, Yes, you could do both with conditional rules. I would recommend using a different log than the DNN SiteLog, like Google Analytics, or something that uses your IIS logs. That way caching won't affect the stats.
I've been implementing a licensing system and making minor bug fixes, so 3.1.1 is still the latest.
I'll help you with the conditional rules as soon as I get this next build out. | | | |
|
DavidWSnow
 Posts:163

| | 03/26/2008 3:42 PM |
| I do use google analytics, but it doesn't tell me when Google has been by since the spider doesn't speak JavaScript. I actually have to go to google and look at the cache data. When you get to touching up the manual these might make good examples.  The other question is that I am thinking about using iFinity's Friendly URL rewritter which does a bunch of SEO things like doing 301 redirects from the old URL to the new ones so that Google and friends will update their links and drop the old pages. I tried a very simple test and didn't see any i9nteraction with PB. Do you see potiential issues? I think that this is Scott M's re-writter on steroids. /DaveS | | | |
|
Nelson Fernandez
 Posts:50

| | 03/26/2008 8:42 PM |
| My site slowed down (w3wp staying at above 70% CPU usage almost constant) and on research it looks like several requests per minute are generating this:
Exception information:
Exception type: Exception
Exception message: Error: JSMIN unterminated Regular Expression literal : 10.
Request information:
Request URL: http://warbeats.com/WebResource.axd?d=qPBTQo0sccgxXjZUeH9raDiSVoxYYGvwJLMB7F9i9ne4LLZ7f0hsc0oLheybfy_N25khudHNCRqXFxaqv3gehQ2&t=633377355263416703
Request path: /WebResource.axd
User host address: 68.60.208.51
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 8
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at Snapsis.HttpModules.PageBlaster.JavaScriptMinifier.action(Int32 d)
at Snapsis.HttpModules.PageBlaster.JavaScriptMinifier.jsmin()
at Snapsis.HttpModules.PageBlaster.JavaScriptMinifier.Minify(String src, StringBuilder dst)
at Snapsis.HttpModules.PageBlaster.StaticFileHandler.ProcessRequest(HttpContext context)
at Snapsis.HttpModules.PageBlaster.PageBlasterModule.BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--- | | | |
|
John Mitchell Posts:2787


| | 03/27/2008 2:51 PM |
| You may need to exclude WebResource from JSMin. This is the first time I have heard of the JSMin having a problem in a WebResource file though. To exclude it use an excludePath like this: < path pattern="WebResource" excludeFrom="JSMin" /> | | | |
|
John Mitchell Posts:2787


| | 03/27/2008 2:53 PM |
| Dave,
I know of someone else that is using the IFinity url rewriter and PageBlaster without any problems.
you can see the site here: http://www.zymmetrical.com | | | |
|
DavidWSnow
 Posts:163

| | 03/27/2008 3:34 PM |
| Thanks, If I get a chance I think I'll install it this weekend. I really like the fact that it 301 redirects the old URLS to the new. /Dave | | | |
|
Nelson Fernandez
 Posts:50

| | 03/27/2008 4:32 PM |
| When it rains it pours...
My W3WP is still using an extraordinary amount of resources on a near constant basis...
is there a way to turn off each feature comepltely to see which is causing the most CPU usage? All I need is replacements for my site to function.
This is showing up every few minutes:
Exception information: Exception type: FormatException Exception message: Invalid character in a Base-64 string.
Request information: Request URL: http://warbeats.com/Default.aspx Request path: /Default.aspx User host address: [removed] User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information: Thread ID: 27 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at System.Convert.FromBase64String(String s) at Snapsis.HttpModules.PageBlaster.PageBlasterModule.RespondFromCache(HttpApplication& app, CachedRequest& cachedRequest) at Snapsis.HttpModules.PageBlaster.PageBlasterModule.ResolveRequestCache(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
| | | |
|
Host Account
 Posts:82


| | 03/27/2008 5:06 PM |
| Try completely clearing out your disk cache, then restart the application. You may have something left over from the old version that is causing problems.
To disable the Merging process completely: < path pattern=".*" excludeFrom="MergeCSSAndJS" />
Or you can exclude each seperately: < path pattern=".*" excludeFrom="MergeCSS" /> Then: < path pattern=".*" excludeFrom="MergeJS" /> Note:in the current version you can have duplicate patterns in two different path nodes so the above two have to be tried at seperate times.
To exclude the optimization of WebResource and ScriptResource files use : < path pattern="(Web|Script)Resource" excludeFrom="All" /> | | | |
|
Nelson Fernandez
 Posts:50

| | 03/27/2008 5:49 PM |
| I have been fighting this all day. PB3 is running extremely poorly on my system. See the attached screen shots. The first is no PB at all running The second is PB3 with my rules from PB2 The third is PB2 You can see how PB3 jams my system to the hilt and it's virtually unusable and look at the memory increase! PB2 definitely causes some spikes but rarely 100% and the site remains very usable. My site can have anywhere from 0 to 300 users at any given moment. Average is about 100. |



| | |
|
John Mitchell Posts:2787


| | 03/27/2008 6:03 PM |
| 100% CPU and memory rising that quickly is most likely a runaway Regex operation which would most likely be something in the replacement rules. Can you run this in an environment that is more isolated so that we can narrow it down?
I wouldn't keep trying to make it work in a production environement if it is acting like that. I seem to remember that you had some rules that pulled information from forum posts and moved them up to the title. That is the first place I would check since I implemented a new feature in this version which Repeats replacement rules if the RepeatTimes field is more than 1. An easy way to isolate rules is to make the search part fail. I like to add a bunch of xxxxxxxxxx's in the search field to disable a particular rule, but now that I think about it, you should be able to disable a rule by putting 0 in the RepeatTimes field. If you want to send me your rules I'll be glad to take a look and see if I can spot anything. | | | |
|
Nelson Fernandez
 Posts:50

| | 03/27/2008 6:45 PM |
| Yes. I think it is a runaway thing because it takes a while for the process to stop as well. One of the things I was hoping to get with PB3 was the ability to only change text within tags (ie. inside the body tags only). I had created a rule that would convert non live links to live links with a blank target. The problem was that AF wanted to put the text of a post into a meta in the head section. If that post had a matching criteria, PB would change that text as well, effectively causing the mata tag to terminate early or break. This would display the remaining tag - up until the next tag - at the top of the screen. I've attached my rules. |
Attachment: 132745348429.txt
| | |
|
John Mitchell Posts:2787


| | 03/28/2008 5:06 PM |
| I have a new package ready and I have sent it to a couple people, but rather than trying to go through and find all the e-mails to send to; if you guys can send me an e-mail I'll reply with a copy. This new version will upgrade your Snapsis.PageBlaster.config to exclude the CSS & JS Merge Process by default so you'll want to check the global config file after installing to turn back on these optimizations if you want them. I decided I’d rather have people turn them on when they are ready, than having the upgrade mess up their CSS or JS. I have also attached the latest documentation to this post.
|
Attachment: 132864737571.zip
| | |
|
DavidWSnow
 Posts:163

| | 03/28/2008 9:24 PM |
| I have tried the new package and it installs ok. I have a couple isses with the instructions; - The old instruction had PB's http line AFTER UrlRewrite and the new one has it before. Also you have jpg,gif, & jepg aqdded to the verb line. For the people who will be upgrading this will be easy to miss. Maybe a short section for those upgrading and hand editing is required would be good.
- "Navigate to Admin > PageBlaster and enter your license key" This sould like going to the Admin or Host section of the main menu, not where you show in the document. It looks as if you are in the Module's "COnfiguration" or "Settings" section.
After I install the module and restart the application the module works for global rules, except that I nolonger have any. It doesn't show any License info on the Configuration node and complains that I don't have a license. I am sure that I have missed something, but what? I have attach a screen capture. This morning I removed the dll's and config file and editied out the web.config lines --- then tried a re-install. Same story. /DaveS |

| | |
|
John Mitchell Posts:2787


| | 03/29/2008 11:38 AM |
| Correct. The old install instructions have the PageBlaster module after the UrlRewrite module in web.config, but that was mainly for people who are using the free module. The only place it really makes a difference is when you are using the Virtual-Path setting on a specific page. I'll do so more testing to see if maybe I should explicitly move it above the UrlRewrite.
The license key is entered in the same place as the Admin Configuration (where the Portal Rules are) on the Admin > PageBlaster page. You will only see the entry for the License Key if you are logged in as Host.
It sounds like the upgrade may have removed the new global rules for the DNN Filter provider. I'll take a closer look at that also, but you can find them commented out in the default global config file located at DesktopModules/Snapsis/PageBlaster/Config/Snapsis.PageBlaster.config.
I have attached a better image showing the steps to enter the License Key. |

| | |
|
FM
 Posts:40

| | 03/29/2008 11:46 AM |
| Hi John Please send me a copy of the latest version. Thanks | | | |
|
DavidWSnow
 Posts:163

| | 03/29/2008 2:21 PM |
| I never log in as "host" if I can help it. I have a seperate Superuser account. If I could I would delete the host account for security reasons. Unless there is a good reason, I would suggest that the license be visable to anone with "Superuser". I am re-cloning and will see how it goes as "host". /Dave | | | |
|
DavidWSnow
 Posts:163

| | 03/29/2008 2:54 PM |
| I just re-cloned and did all this as host and even using the DNN skin. No better result. On my existing PB3.1.1 production system, logging in as host doesn't show PlageBlaster as an option in the Admin menu. (your CSS 3.0 menu ) Iam I the only one with this problem or just the first? /DaveS | | | |
|