How do I capture server side output for caching?

Author Topic: How do I capture server side output for caching?  (Read 577 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 153
  • Karma: 0
    • No Addiction
How do I capture server side output for caching?
« on: 07-21-2016, 05:54:53 »
It’s time to look at how we can reduce server side delay by caching output. The general approach begins by rendering the page as normal, performing database queries and so on with PHP. However, before sending it to the browser, we capture and store the finished page somewhere, for instance, in a file. The next time the page is requested, the PHP script first checks to see whether a cached version of the page exists. If it does, the script sends the cached version straight to the browser, avoiding the delay involved in rebuilding the page.


 

Related Topics

  Subject / Started by Replies Last post
9 Replies
3471 Views
Last post 04-19-2016, 08:54:40
by ramakant.sharma24
0 Replies
557 Views
Last post 12-16-2015, 02:28:11
by chinmay.sahoo
0 Replies
696 Views
Last post 01-06-2016, 02:26:30
by jaintech
1 Replies
800 Views
Last post 05-16-2016, 02:06:04
by TomClarke
0 Replies
1242 Views
Last post 08-01-2016, 06:59:25
by chinmay.sahoo