Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Ways of caching

by dfaure (Chaplain)
on Jul 04, 2004 at 15:50 UTC ( [id://371710]=note: print w/replies, xml ) Need Help??


in reply to Ways of caching

You're doing a here a form of caching: Pre-generating (long) a document/html page/... only when needed (data changes) and providing it (fast) each time requested, instead of making generation on each requests.

Is there a better way to do it?

The principle is good, then the real means depends on you code...

____
HTH, Dominique
My two favorites:
If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
Bien faire, et le faire savoir...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://371710]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found