Quick Nav:  Online Store   |   Login | Register

Architecture

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
Ryno
<50 Posts
Posts:27


12/16/2006 3:08 PM  

John,

I had trouble getting that 3.2.2 .dll to work on my site so I went back to the 1.4 free one.  That's doing what I need it to do for now using the .config file.  But I have a couple questions.

First, it seems as though after I installed it, each page that I initially went to "could not be displayed."  Once I refreshed, it showed up fast and fine.  I'm guessing that initial hiccough was because the cache hadn't been built yet.  Once I refreshed it accessed the cached version that was created when I initially went to the page and got the browser error.  Is this correct?  If so, after the cache duration set in the .config file does this process start all over again?  IE, will my users simply have to live with periodically getting a "this page can't be displayed" message once the cache is recyled?

Secondly, is there a way to plugin to your .dll methods in a custom module such that a URL can be specified and the cache for that page reset?  I have a custom module on my homepage that simply shows when "new info" has been provided from the site.  So various custom modules on various pages of mine call a method to update this display on my homepage based on user input.  I would like those modules to also reset the cache of the homepage when such info is updated so that it shows new info.  Is this possible?

Thanks for the help.  Your product definitely does the job!

John Mitchell
Posts:3033


12/16/2006 3:36 PM  
Hi Ryno,
I've had a couple more requests for it to work on the older versions, so I'm going to backup and make a seperate install package for that.

I'm not sure why you got the page cannot be displayed message unless it was from switching the PageBlaster versions.
It certainly should not happen every time a page gets cached.

To cleare the PageBlaster cache programatically you can delete the cache files for that folder. If you look in the Cache folder you will see a folder for each tabid.
Deleting those files will also remove the page from memory cache.

Thanks for the positive feedback, and I'm determined to make it even better.
Ryno
<50 Posts
Posts:27


12/16/2006 8:43 PM  
John, even in 1.4 it's a true statement that when a user is logged in (even superuser) that no caching or compression is presented, right? I'm having a little bit of difficulty deleting a page on my DNN3.2.2 portal now that compression is installed. At one point I got a viewstate error. Does any of this sound familiar?
John Mitchell
Posts:3033


12/16/2006 8:48 PM  
1.4.1 does not cache for authenticated users, but it does still compress.

It shouldn't cause any viewstate errors though, unless for some reason the app restarted between when you called up the page settings, and when you posted them back.
Ryno
<50 Posts
Posts:27


12/16/2006 8:56 PM  
If I go the page I want to delete (logged in as superuser) and click the delete button from the toolbar at the top - it loads and loads but doesn't do anything. If I click on "settings" it appears to complete the action but nothing changes and I'm not taken into the settings. If I go to the Pages page and try to click on the settings for the page from that - I get a viewstate error:

Invalid_Viewstate Client IP: 68.59.115.146 Port: 1305 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8 ViewState: blah blah blah Http-Referer: http://www.mysite.com/Admin/Tabs/tabid/40/Default.aspx Path: /Default.aspx.

But I am able to delete other pages without a problem so... I'll just try it again in a few days and if it doesn't work I'll delete it from the database. Not sure what the deal is. Thanks for the help.
Ryno
<50 Posts
Posts:27


12/17/2006 12:01 PM  
Looks like I"m going to have to disable the 1.4 for now. It works great when it comes to delivering cached pages but when a user logs in (or admin) there seems to be a problem with javascript postbacks. For example, clicking on the "edit text" link of a Text/HTML module. It loads and loads and times out. Same thing with the buttons on the admin menu over the top. Clicking on "add module" does the same. The register button on the registration page does the same thing. Clicking on "site settings" or "users" in IE7 results in a "page can't be displayed." Perhaps these problems are because the pages are still being compressed even when a user or admin is logged in?

For unauthenticated users it works great since they don't have access to buttons that peform postbacks. But for users and admin much of the functionality of DNN appears to be not working. I think it would be nice for users when they log in if the compression and caching was suspended for them. Or somehow get the compression to not interfere with the javascript postback buttons (assuming that is the culprit which seems likely).

I'll wait for your pro version and try that out!
John Mitchell
Posts:3033


12/17/2006 6:54 PM  

Thanks for the detailed feedback Ryno. By any chance is this a child portal? I have seen intermittent problems on child portals kind of like what you are describing in 1.4.1

I'll do my best to try and isolate it, and your details will help.
Ryno
<50 Posts
Posts:27


12/17/2006 6:59 PM  
Sounds good. The portal is not a child portal.

I've also had the postback loop (where it keeps posting back several times) happen when trying to access an admin page. I've seen someone else post about that in these forums so maybe the issue is related.

Good luck!
Ryno
<50 Posts
Posts:27


01/06/2007 6:44 PM  
Any luck with the DNN3.2.2 blaster that performs that beautiful magic (but doesn't perform any magic for users that are logged in)?
John Mitchell
Posts:3033


01/06/2007 7:23 PM  
Hi Ryno,
Yes I do have a version now that caches by role or user. It's not a great improvement though as I suspected because on a low traffic site most pages are not seen more than once by a specific user. Still it helps a little. I'm trying to get the next version out as soon as possible, but if you would like to give it a try, let me know.
Ryno
<50 Posts
Posts:27


01/06/2007 8:02 PM  
Hey John. Happy new year.

I thought the free version of the blaster was a great help (or would be if it didn't compress the pages for logged in users and somehow get in the way of postback functionality). The version I purchased was also great but, again, that compression wreaked havoc on buttons and what not that logged in users are able to click on my site. So if the performance gain of your new version is anything like the old versions...I'm in (as long as it does nothing to the pages while users are logged in..no compression and no caching).

Thanks for the great support.
John Mitchell
Posts:3033


01/06/2007 8:34 PM  
Happy new year to you.

You can exclude compression on any page that you like by putting in the excludedPath pattern in the config file. The current version does not cache any logged in users and the new version is not set to cache logged in users by default.

If I'm reading this correctly you would like it to do it's magic (caching and compression) only on unauthenticated users and do nothing when logged in. That is a valid request and I can't think of a way to do that with the current version off the top of my head. So I'll have to give that some thought. I'll probably put in another excludeFrom option called "AuthenticatedUsers", and that way you could exlude all paths if the user is authenticated, or just certain ones.

Then again I could also make another configuration attribute called excludeIf="Authenticated". More thought required here...
Ryno
<50 Posts
Posts:27


01/06/2007 10:04 PM  
Sounds great. I'm looking forward to it. You are reading it correctly...just looking for it to be fast for unauthenticated users and completely normal for users/admin when they login. Just as a reminder I use DNN3.2.2. Thanks for the great support!
Ryno
<50 Posts
Posts:27


02/11/2007 8:18 AM  
Any news on my particular wish list version?
John Mitchell
Posts:3033


02/11/2007 10:15 AM  
Hi Ryno,

I'm falling behind with the next release because of other projects, but send me an e-mail and I'll send you a custom version to handle this.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software