This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: Load time problem with rewiter installed (Topic Closed Topic Closed)
Author
Message |
Morten
Newbie


Joined: 12 October 2007
Location: Norway
Posts: 18
Posted: 29 September 2009 at 3:34am  

I`m running Isapi Rewrier 3 on Windows 7 (64bit) with IIS7

When Isapi rewriter is installed my showPicture.aspx page load time goes from 20ms to 1,2 sec. Have to uninstall the rewriter to get the load time back to 20ms, dos`t help to turn off the rewriteEngine.

Any clue what to do?
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 29 September 2009 at 4:00am  

Could you please provide the config you are using and rewrite and error log records for the specific request.
Also please check your Application log for possible errors.

__________________
Regards,
Anton
Back to Top
 
Morten
Newbie


Joined: 12 October 2007
Location: Norway
Posts: 18
Posted: 30 September 2009 at 6:28am  

All rewrite rules works fine but the ShowPicture page loads slow, is it possible to add a rule to get the rewriter to ignore showpicture.aspx page and all css and js files?

Can`t find any errors in Application log

Config info:
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.64

RewriteEngine on
RewriteLog d:Temp/HeliconLog/rewrite.log
ErrorLog d:Temp/HeliconLog/error.log

RewriteLogLevel 9
LogLEvel debug


Rewrite log:
(2) init rewrite engine with requested uri /ryggsekk-bag/sekker/tursekker
 (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
 (1) Htaccess process request d:\development\.htaccess
 (3) applying pattern '^ProductPage.aspx([\?])productid=([\d]+)' to uri 'ryggsekk-bag/sekker/tursekker'
 (3) applying pattern '^CategoryPage.aspx([\?])categoryid=([\d]+)' to uri 'ryggsekk-bag/sekker/tursekker'
 (3) applying pattern '^(?!admin)([^.?]+)&shopby([^./]+)$' to uri 'ryggsekk-bag/sekker/tursekker'
 (3) applying pattern '^(?!admin)([^.?]+)&filter([^./]+)$' to uri 'ryggsekk-bag/sekker/tursekker'
 (3) applying pattern '^(?!admin)([^.?]+)/$' to uri 'ryggsekk-bag/sekker/tursekker'
 (3) applying pattern '^(?!admin)([^.?]+)$' to uri 'ryggsekk-bag/sekker/tursekker'
 (5) map lookup OK: map=l[txt] key=ryggsekk-bag/sekker/tursekker -> val=ryggsekk-bag/sekker/tursekker
 (5) map lookup OK: map=m[txt] key=ryggsekk-bag/sekker/tursekker -> val=CategoryPage.aspx?CategoryId=202
 (1) Rewrite URL to >> /CategoryPage.aspx?CategoryId=202
 (2) rewrite 'ryggsekk-bag/sekker/tursekker' -> '/CategoryPage.aspx?CategoryId=202'
 (2) internal redirect with /CategoryPage.aspx?CategoryId=202 [INTERNAL REDIRECT]

  (2) init rewrite engine with requested uri /ModuleCommon/css/_checkOut.css
  (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
  (1) Htaccess process request d:\development\.htaccess
  (3) applying pattern '^ProductPage.aspx([\?])productid=([\d]+)' to uri 'ModuleCommon/css/_checkOut.css'
  (3) applying pattern '^CategoryPage.aspx([\?])categoryid=([\d]+)' to uri 'ModuleCommon/css/_checkOut.css'
  (3) applying pattern '^(?!admin)([^.?]+)&shopby([^./]+)$' to uri 'ModuleCommon/css/_checkOut.css'
  (3) applying pattern '^(?!admin)([^.?]+)&filter([^./]+)$' to uri 'ModuleCommon/css/_checkOut.css'
  (3) applying pattern '^(?!admin)([^.?]+)/$' to uri 'ModuleCommon/css/_checkOut.css'
  (3) applying pattern '^(?!admin)([^.?]+)$' to uri 'ModuleCommon/css/_checkOut.css'
  (2) init rewrite engine with requested uri /ShowPicture.aspx?objectId=494&image=1&size=4
  (2) init rewrite engine with requested uri /ShowPicture.aspx?objectId=1771&image=1&size=4
  (2) init rewrite engine with requested uri /ShowPicture.aspx?objectId=2182&image=1&size=4
  (2) init rewrite engine with requested uri /ShowPicture.aspx?objectId=1031&image=1&size=4
  (2) init rewrite engine with requested uri /ShowPicture.aspx?objectId=1053&image=1&size=4
  (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
  (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
  (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
  (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
  (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
  (2) init rewrite engine with requested uri /ShowPicture.aspx?objectId=1101&image=1&size=4
  (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
  (1) Htaccess process request d:\development\.htaccess
  (3) applying pattern '^ProductPage.aspx([\?])productid=([\d]+)' to uri 'ShowPicture.aspx?objectId=1101&image=1&size=4'
  (3) applying pattern '^CategoryPage.aspx([\?])categoryid=([\d]+)' to uri 'ShowPicture.aspx?objectId=1101&image=1&size=4'
  (3) applying pattern '^(?!admin)([^.?]+)&shopby([^./]+)$' to uri 'ShowPicture.aspx?objectId=1101&image=1&size=4'
  (3) applying pattern '^(?!admin)([^.?]+)&filter([^./]+)$' to uri 'ShowPicture.aspx?objectId=1101&image=1&size=4'
  (3) applying pattern '^(?!admin)([^.?]+)/$' to uri 'ShowPicture.aspx?objectId=1101&image=1&size=4'
  (3) applying pattern '^(?!admin)([^.?]+)$' to uri 'ShowPicture.aspx?objectId=1101&image=1&size=4'
  (2) init rewrite engine with requested uri /WebShop/S

Error Log:
[30.09.2009 12:33:36] Map file d:\development\mapfile.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfile.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfilecat.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfilecat.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfile.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfile.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfile.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfilecat.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfilecat.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfilecat.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfile.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfilecat.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfileprod.txt - Loaded successfully
[30.09.2009 12:33:36] d:\development\.htaccess - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfileprod.txt - Loaded successfully
[30.09.2009 12:33:36] d:\development\.htaccess - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfileprod.txt - Loaded successfully
[30.09.2009 12:33:36] d:\development\.htaccess - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfileprod.txt - Loaded successfully
[30.09.2009 12:33:36] d:\development\.htaccess - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfileprod.txt - Loaded successfully
[30.09.2009 12:33:36] Map file d:\development\mapfileprod.txt - Loaded successfully
[30.09.2009 12:33:36] d:\development\.htaccess - Loaded successfully
[30.09.2009 12:33:36] d:\development\.htaccess - Loaded successfully
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 30 September 2009 at 8:38am  

Please try to use the following config to exclude css/js/showpicture:

RewriteCond %{REQUEST_URI} (?:.*\.(?:css|js)|showpicture\.aspx) [NC]
RewriteRule .? - [L]

__________________
Regards,
Anton
Back to Top
 
Morten
Newbie


Joined: 12 October 2007
Location: Norway
Posts: 18
Posted: 01 October 2009 at 5:18am  

Thanks for the rule it works but it dos`t solve the load problem.

I have just testet with uninstalling the Helicon Rewriter and when it`s uninstalled the average load time for the ShowPicture.ashx (have changed it to a ashx page) is 50 ms. When I installed the Helicon Rewriter the load average load time is 1,3 s. This even if the rewrite engine is set to off.

The problem is that we have a categorypage with products and we use the showPicture.ashx page to show the product pictures. It can be up to 100 pictures per page, so the load time is very important.

Do you have any clue of what can cause the load time to increase so mutch when the rewriter is installed?

Is there any issues with II7 and windows 7?

Regards
Morten
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 01 October 2009 at 6:15am  

Could you please confirm it's really IIS 7 not IIS 7.5 you are using on your Windows 7?

__________________
Regards,
Anton
Back to Top
 
Morten
Newbie


Joined: 12 October 2007
Location: Norway
Posts: 18
Posted: 01 October 2009 at 6:53am  

Version info from "About Internet Information Services (IIS) Manager"

Internet Information Services (Version 7.0.6001.18000)

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 01 October 2009 at 8:26am  

You have an old build of Windows7 that's why there's IIS 7.0. But that actually doesn't matter.

And the situation is as follows: ISAPI_Rewrite being ISAPI filter disables kernel cache whenever it is involved into the request processing
(this is the common ISAPI filters behavior by design).

What we recommend is to consider using our new product - Helicon Ape, which was designed
specifically for IIS7 (7.5) and that only disables kernel cache when rewriting occurs, otherwise the cache is remained untouched.

__________________
Regards,
Anton
Back to Top
 
Morten
Newbie


Joined: 12 October 2007
Location: Norway
Posts: 18
Posted: 01 October 2009 at 8:33am  

Thanks

Will download Ape an run some tests

Regards
Morten
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum