Pages
Categories
- Analytics
- Blackberry
- Blogging
- Books
- Cloud Storage
- Cognitive Psychology
- College
- Entertainment
- Entrepreneurship
- Exercise
- Foursquare
- Google Wave
- Ironman
- Linux
- Location Based Services (LBS)
- Maps
- MS Windows
- Music
- Personality
- Philosophy
- Photo Cameras
- Photography
- PHP
- Productivity
- Project Management
- Psychology
- Running
- Social
- Social Networking
- Social Psychology
- Speaking
- Time Management
- Training
- TV
- Ubuntu
- Uncategorized
- Web Apps
- Web Development
- Wordpress
Archives
PHP Cache – Force Refreshing Each Time
When you need to control PHP Cache of a particular page, this is will come in handy. Put this code before outputing any HTML headers.
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: nocache");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
If you have questions/comments, please add them below.