To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > PHP Help > General Help

General Help Forum for General Help questions pertaining to PHP

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-04-2009, 08:47 AM   #1
suzie
Member
 
Join Date: Oct 2008
Posts: 54
Site caching

Dear,
We want to create a new website, Newspaper Site, where data will change on Daily basis..
and we need to cache this site to speed up the site

can anyone help me with a good way to cache the site

thanks a lot
suzie is offline   Reply With Quote
Old 11-04-2009, 10:17 AM   #2
big.nerd
i like computers
 
Join Date: Jul 2006
Location: Canada
Posts: 466
suzie,

What kind of caching are you talking about?

Are you planning on storing the data into a SQL database? If so - SQL Caching may or may not be required dependent on the number of visitors to the site, as well as what with your server is more efficient, i.e. SCSI disks have a very fast seek time making disk caching of very common SQL queries (verses a low SQL server) a good idea, however if you are on a virtual host environment with a dedicated Database server, it may just be easier & faster to have the info stored in the database..

Let us know what kind of caching you are planning on doing, and what BASIC architecture (i.e. PHP + MySQL + Apache + Linux, etc) you are planning on using, then we can make recommendations to suit the needs.

It would also help if you are able to estimate the number of hits you are targeting, and be realistic.
__________________
big.nerd

Most Code Provided is UNTESTED (unless otherwise specified).
... nerds are real people too!
big.nerd is offline   Reply With Quote
Old 11-05-2009, 05:29 AM   #3
suzie
Member
 
Join Date: Oct 2008
Posts: 54
Caching

Hi,
Thanks a lot for your reply
Actually we have 2 servers. 1- Web server where the IIS is.
2- Database Server where SQL is.
OS used is the windows server 2003
so what we are using is PHP, IIS and SQL as database.

so I need a cache for web pages. where we don't need each time to regenerating the page.

we have 45000 visitors per day, 1000000 hits...

What Kind of cache do u advice me to use?

thank you...
suzie is offline   Reply With Quote
Old 11-09-2009, 05:54 AM   #4
suzie
Member
 
Join Date: Oct 2008
Posts: 54
Any Help Please....
suzie is offline   Reply With Quote
Old 11-09-2009, 08:58 AM   #5
NogDog
High Energy Magic Dept.
 
NogDog's Avatar
 
Join Date: Aug 2006
Location: Ankh-Morpork
Posts: 11,752
You could take a look at the PEAR Cache or Cache_Lite packages and see if you think they might suit your needs.
__________________
"That's what the gods are! An answer that will do! Because there's food to be caught and babies to be born and life to be lived and so there is not time for big, complicated, and worrying answers! Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be." -- from Nation, by Terry Pratchett
freelancer.internet.com
Email me
NogDog is online now   Reply With Quote
Old 11-09-2009, 09:15 AM   #6
Kudose
Fatal Error Line 0
 
Kudose's Avatar
 
Join Date: Feb 2003
Location: Kansas City
Posts: 3,818
APC might be a good option too as it is being adopted into PHP6. Granted it is off by default.
__________________
Problem Solved? Mark this thread resolved using the Thread Tools.
Apache HQ | PHP HQ | Smarty HQ | MySQL HQ | Spechal Blog | LinkedIn
0100001001111001011101000110010100100000011011010110010100100001
Kudose is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 04:28 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.