Hi Demian,

I have not seen a problem like that.  That does seem like a strange rewrite 
rule there though.

Can you duplicate this behavior on another app server on the same host?  Maybe 
without the rewriter?

Have you looked in your log file for anything odd, or your access file?  You 
might want to turn your logging level to debug if it is not already set there.

-Danny

From: [email protected] 
[mailto:[email protected]] On Behalf Of Demian Hess
Sent: Monday, June 23, 2014 4:52 PM
To: General MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Static resources taking a long time to load in 
ML 6.0-4.1

I have an xquery application running on a Windows 2003 server in ML 6.0-4.1.

A few times each day, the application will "hang" when serving static js and 
css files. I can often cause this behavior if (in Chrome or FF) I clear the 
browser cache, and then try to hit the login page. When I watch the page load 
in the network monitor, I can see the css and js files waiting to load.

We are using URL rewriting and the router xquery has a rule that matches these 
static files:
if (matches($url, concat("^/resources")) ) then ( $url ) else ...
I can't tell if this is a problem in the application, Marklogic, the Windows 
server or the network.
Has anyone seen problems like this in MarkLogic apps?

--
Demian Hess
Architect | Avalon Consulting, LLC
M: 301.943.8307 | Fax: 845.367.5496
LinkedIn: http://www.linkedin.com/company/avalon-consulting-llc
Google+: http://www.google.com/+AvalonConsultingLLC
Twitter:    https://twitter.com/avalonconsult

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to