and in a similar vein the same goes for custom error redirection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rvj

    and in a similar vein the same goes for custom error redirection

    3. does the use of custom errors such as invalid directory (404) etc have a
    miminal impact on server resources or it is significant

    4. ... and are there any easy ways to monitor/measure/compare ?


  • Anthony Jones

    #2
    Re: and in a similar vein the same goes for custom error redirection


    "rvj" <rvj@rolemodels .netwrote in message
    news:%23p05aRt% 23IHA.4816@TK2M SFTNGP06.phx.gb l...
    3. does the use of custom errors such as invalid directory (404) etc have
    a
    miminal impact on server resources or it is significant
    >
    Thats not easy to answer because

    1. The question isn't that clear (when a 404 happens the server has to do
    something anyway)
    2. In normal circumstances errors would be rare hence performance impact
    would not be a consideration

    4. ... and are there any easy ways to monitor/measure/compare ?
    >
    Don't know of 'easy' ways, although your definition of 'easy' may differ
    from mine.

    Putting it all together you are considering sending images using a Custom
    404 hack. Its much more expensive than allowing IIS to serve up the images
    itself.


    --
    Anthony Jones - MVP ASP/ASP.NET


    Comment

    • rvj

      #3
      Re: and in a similar vein the same goes for custom error redirection


      I was thinking in terms of having virtually having no directory structure
      to speak of so virtually all requests would be via custom redirection to a
      database or some other routing technology



      "Anthony Jones" <Ant@yadayadaya da.comwrote in message
      news:ugvdr8t%23 IHA.4156@TK2MSF TNGP02.phx.gbl. ..
      >
      "rvj" <rvj@rolemodels .netwrote in message
      news:%23p05aRt% 23IHA.4816@TK2M SFTNGP06.phx.gb l...
      >3. does the use of custom errors such as invalid directory (404) etc
      >have
      a
      >miminal impact on server resources or it is significant
      >>
      >
      Thats not easy to answer because
      >
      1. The question isn't that clear (when a 404 happens the server has to do
      something anyway)
      2. In normal circumstances errors would be rare hence performance impact
      would not be a consideration
      >
      >
      >4. ... and are there any easy ways to monitor/measure/compare ?
      >>
      >
      Don't know of 'easy' ways, although your definition of 'easy' may differ
      from mine.
      >
      Putting it all together you are considering sending images using a Custom
      404 hack. Its much more expensive than allowing IIS to serve up the
      images
      itself.
      >
      >
      --
      Anthony Jones - MVP ASP/ASP.NET
      >
      >

      Comment

      • Anthony Jones

        #4
        Re: and in a similar vein the same goes for custom error redirection

        "rvj" <rvj@rolemodels .netwrote in message
        news:eko1REu%23 IHA.2060@TK2MSF TNGP05.phx.gbl. ..
        >
        I was thinking in terms of having virtually having no directory structure
        to speak of so virtually all requests would be via custom redirection to
        a
        database or some other routing technology
        >
        >

        Funny that I've just this minute been discussing that in the iis group (see
        subject ' custom 404 page headers problem' started by 'Simon')

        Also in this group 'Detecting if modified since in Classic Asp' started by
        'Simon'

        However I don't need either of these threads to say: Don't do it, its just
        plain mad.

        At least not in this way (using the 404 hack).

        Instead get yourself a freebie ISAPI URL rewriter and do it that way.



        --
        Anthony Jones - MVP ASP/ASP.NET


        Comment

        • rvj

          #5
          Re: and in a similar vein the same goes for custom error redirection

          thanks for the advice

          PS this is where I came in



          "Anthony Jones" <Ant@yadayadaya da.comwrote in message
          news:OMzzXpu%23 IHA.1148@TK2MSF TNGP02.phx.gbl. ..
          "rvj" <rvj@rolemodels .netwrote in message
          news:eko1REu%23 IHA.2060@TK2MSF TNGP05.phx.gbl. ..
          >>
          >I was thinking in terms of having virtually having no directory
          >structure
          >to speak of so virtually all requests would be via custom redirection to
          a
          >database or some other routing technology
          >>
          >>
          >
          >
          Funny that I've just this minute been discussing that in the iis group
          (see
          subject ' custom 404 page headers problem' started by 'Simon')
          >
          Also in this group 'Detecting if modified since in Classic Asp' started by
          'Simon'
          >
          However I don't need either of these threads to say: Don't do it, its
          just
          plain mad.
          >
          At least not in this way (using the 404 hack).
          >
          Instead get yourself a freebie ISAPI URL rewriter and do it that way.
          >
          >
          >
          --
          Anthony Jones - MVP ASP/ASP.NET
          >
          >

          Comment

          Working...