SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Non-Member I87's Avatar
    Join Date
    Mar 2006
    Location
    UK
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    caching a php page in the browser- what headers do you use so the browser

    never checks my server for the php file again, not even to check if it's fresh (well, it's technically a CSS page but it's a php file so I can do this stuff with the headers) ?

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Enthusiast AvengeX's Avatar
    Join Date
    Oct 2005
    Location
    London, UK
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use the header() function and the following:
    Cache:
    Pragma:
    Expires:


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •