Added: 1 year ago
From: JREAMdesign
Views: 3,934
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • Excellent screencast. Thanks.

  • @briandickson1965 Thanks! Obviously youd want a more robust solution but it gives the idea!

  • I don't seem to understand. What happens if new files are created in that folder? It will still display the old cache file? So caching only works with static pages?

  • @36206090193 For web sites, caching is basically making a static page (To prevent resource processing on the server). If a new file is created, it should Overwrite the old file. So if you have an index.php file, and you updated it through a CMS a few times, you should only have 1 Cached copy total..

  • Thanks! This really helped me understand caching.

  • I made a caching class, I guess I sent you a link through msn, not sure anyway.

    Good tutorial, you could use glob() instead of opendir() and readdir()

  • @cheatonly2win Yea I know I just wanted to explain it and keep it really basic :P

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more