Web Analytics Made Easy -
StatCounter Enabling Caching - CodingForum

Announcement

Collapse
No announcement yet.

Enabling Caching

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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

  • #2
    Caching should be enabled all the time. Sounds like they've got a setting wrong to me.

    Comment

    Working...
    X