Jump to content

Recommended Posts

Okay, I'm not a noob to php, or really any web development language, but I have a question for a client that I am working for. Here's what he asked: Is there a better way to cache web pages in PHP other than "Gather HTML either in a string or store it in the buffer -> write to file."?

 

All I've known about caching is storing it in a string or buffer than writing to a file, so I was kind of stumped. If anyone can help me out on this, it would be greatly appreciated!  ;D

Link to comment
https://forums.phpfreaks.com/topic/141397-caching-web-pages-in-php/
Share on other sites

Well you have 2 types of caching..

ServerSide and ClientSide..

Client Side then you need to change the headers etc

as for Server Side well you could use APC or Zend Cache.. other than that its going to be stored to a file in oneway or another.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.