Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Enabling Caching

    Greetings -

    I recently setup my site to be hosted by a company that has PHP installed on their servers. I noticed that when viewing & navigating my pages, there was no caching happening. The image files used are downloaded every time you navigate to a different page (even though they are the same files and should be cached). When viewing these pages locally from my hard drive(in the same browser - IE 5.5), caching does occur as expected, which leads me to believe that it had something to do with the way their servers are setup.

    I was told by my host that this had something to do with PHP. They told me to set up my browser to NEVER check for newer versions of stored pages. This is not a reasonable or acceptable requirement for visitors to my site. They seem reluctant to address the issue.

    While I understand that when generating images on the fly using PHP you would desire this behavior, I find it hard to believe that there is no way to setup PHP to allow caching to occur normally. I am not generating anything on the fly - it's just normal html referencing static uploaded images.

    Do any of you have any experience dealing with this, or have any ideas?

    Thanks in advance for any help anyone can offer.

    - Greg
    http://www.gesmithphotography.com

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,266
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Caching should be enabled all the time. Sounds like they've got a setting wrong to me.


  •  

    Posting Permissions

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