Cache Created Files

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Cache Created Files

Post by tecktalkcm0391 »

I have some pages in which they create an XML file... how can I set up PHP to cache this file, and only create and recache the file if it needs to be updated.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

PHP would have to know when to consider the file stale, how to create it when stale, and how to use it if fresh.
Post Reply