Jump to content

Help with page not displaying new content from data base


JackW

Recommended Posts

I have a website that has worked fine for several years.  It uses php and a mysql data base.  I can still make changes to the data base, but have a hard time getting the new text to show up. It is changed in the data base but the browser insists on showing a cached copy.  In the past it worked fine. Don't know what changed.  I also use a cookie set by a user name and password and now when I click on the log out function, I need to refresh the log out page before it logs me out.

I have looked for a method to disable the cache but nothing I have found works.

The site is on a Windows server, not by my choice. 

Any ideas?

Link to comment
Share on other sites

Cache control is usually handled by the server.  The server will send headers to the browser indicating the caching rules for each page, and it is up to the browser and server to figure out if there is a new file that should be downloaded.  Dynamic pages are typically not cached.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...