Jump to content

Recommended Posts

I could really use some advise and ideas on PHP caching. Specifically I'm working on a CMS application and after its completed I realized there is an opportunity to increase performance if some of the pages are cached. And the terms I'm using for search are taking too long to sift through  :o

 

I thonk what I'm looking for could be like a CGI script, but I don't have any experience with that right now. Another idea is to wrap my 'public php' page with a check for an existing cached file, else run the query. And add, somewhere in my existing 'admin php' page, a write to file scriptie to create the cache file.

 

Or something else entirely. I don't know yet. I'd like to read some explanations of projects and scripts that either create a 'push CMS' application, or maybe a 'pull CMS' where the parameters for the cache are not time-based (expiration) but file based (file exist?). Or something else...

 

Kudos and huzz-zaa's for the dude who can put words to my dribble. :shrug:

Link to comment
https://forums.phpfreaks.com/topic/210059-suggestions-to-help-my-googlnphp-cache/
Share on other sites

What about specifically limiting the php to the admin side of the site. Currently the html is written when the php page is requested by either public or admin users. What type of mechanism or code functions might be employed to write the html page/cache file for the public user when updated? Thus the admin page will both 1) write its own page when requested (as normal php page script) while managing a page's MySQL data, and 2) write the html page presenting that data, or, more specifically, call the existing public php page to be written as the new cache/html page?

 

Or is this strategy completely missing some key concept? Gotcha?

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.