1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Are php includes the same as http requests?

Discussion in 'PHP' started by Lafaso870, May 16, 2011.

  1. #1
    I have what I hope does not turn out as a stupid question. This is something trivial (perhaps) that I have been wondering about for a while.

    For instance:
    We use CSS image sprites to cut down on http requests turning what might be 8 image http requests into 1 which helps cut down on bandwidth, correct?

    When we organize php code, we like to make several folders for cleanness and keeping everything modular, etc.

    So, do all these php includes have the same bandwidth usage effect as an http request such as an image or css file?

    Are they cached like an image or css file? Since they are server side pre-page load I am assuming they are not cached?
     
    Lafaso870, May 16, 2011 IP
  2. Projekt.Gopher

    Projekt.Gopher Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    php includes are all done server side, so you don't need to worry about bandwidth.
     
    Projekt.Gopher, May 17, 2011 IP