<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021568" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021568</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1133003</link>
    <description> &lt;p&gt;How do i cache the data in a table? Would i have to update if manually? Cos the whole question is about automating the whole thing. It would be impossible for exemple to handle manually the latest forum posts&lt;/p&gt;
 </description>
     <pubDate>Fri, 13 Jun 2003 22:10:01 +0000</pubDate>
 <dc:creator>k8oylos</dc:creator>
 <guid isPermaLink="false">comment 1133003 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1132955</link>
    <description> &lt;p&gt;mysql to 4.0 caches common queries in memory, simply upgrading should solve your problems.&lt;/p&gt;
&lt;p&gt;if you can&#039;t upgrade, you can cache the data in a single table and retrieve it with a single query.  just make sure you empty it out any time the data changes.&lt;/p&gt;
 </description>
     <pubDate>Fri, 13 Jun 2003 06:46:46 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1132955 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1132940</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: &lt;em&gt;Originally posted by k8oylos &lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;I just took a look on google on cron job, and it said it needs shell access to run one. Does this mean that i need shell access on my server? &lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Some of the site managers like Cpanel have a cron job function. Otherwise, you would have to have shell access via telnet or SSH.&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2003 19:56:45 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1132940 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1132936</link>
    <description> &lt;p&gt;I just took a look on google on cron job, and it said it needs shell access to run one. Does this mean that i need shell access on my server?&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2003 18:36:20 +0000</pubDate>
 <dc:creator>k8oylos</dc:creator>
 <guid isPermaLink="false">comment 1132936 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1132930</link>
    <description> &lt;p&gt;Hey hey hey  i am totally lost.&lt;br /&gt;
First of all i use php, but i am just an amateur and quite new to it.&lt;/p&gt;
&lt;p&gt;Now i have no idea what Java Beans is, and i would prefer to leave it aside if there is no other solution. &lt;/p&gt;
&lt;p&gt;moving to a better host? yes i am thinking of it indeed, but as i said, i am just an amateur doing it for fun, so no income--&amp;gt;not much money on server bills!&lt;/p&gt;
&lt;p&gt;The other two now.&lt;br /&gt;
Cronjob. Another new word for me, but if what i understood is right it could do the job well. i want basically queries like top and latest forum posts, latest downloads and articles and it wouldn&#039;t really matter if it didn&#039;t update  on the spot.&lt;br /&gt;
Where can i find more on cronjob (tutorial or whatever)?&lt;/p&gt;
&lt;p&gt;And finally&lt;br /&gt;
Basically, when the script adds another article (or whatever) to the database, you append (or prepend) it to your static include file, and remove the oldest one. This is more work for you, but it wont query when not necessary and will update as soon as new content is posted.&lt;br /&gt;
Didn&#039;t quite get this. And where is it on phpbuilder.com?&lt;/p&gt;
&lt;p&gt;And since i mentioned phpbuilder, i saw an article at them regarding putting php content in html page via javascript. Does this have any effect on speed?&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2003 18:21:32 +0000</pubDate>
 <dc:creator>k8oylos</dc:creator>
 <guid isPermaLink="false">comment 1132930 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1132911</link>
    <description> &lt;p&gt;What Server-side langauge are you using? php, asp, cfm ?&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2003 15:21:09 +0000</pubDate>
 <dc:creator>nicora</dc:creator>
 <guid isPermaLink="false">comment 1132911 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1132904</link>
    <description> &lt;p&gt;I have seen it done on phpbuilder&#039;s site, I believe. Their&#039;s is probably a forum hack.&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2003 12:27:36 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1132904 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1132899</link>
    <description> &lt;p&gt;I don&#039;t think he needs this for a search engine.  Sounds more like forum hacks.&lt;/p&gt;
&lt;p&gt;I would probably keep the latest info in a seperate file which you could include where desired.  As for getting information into the file...&lt;/p&gt;
&lt;p&gt;I don&#039;t like option 1.  Doesn&#039;t feel right.  Requires session management, etc. etc.  Just too much messy.&lt;/p&gt;
&lt;p&gt;Cron.  Good idea.  Not the best.  It will query when it doen&#039;t need to, and won&#039;t update the content as soon as changes are made.&lt;/p&gt;
&lt;p&gt;My suggestion is to hack the files which are use to post topics, threads, articles, and whatever else you want to track.  Basically, when the script adds another article (or whatever) to the database, you append (or prepend) it to your static include file, and remove the oldest one.  This is more work for you, but it wont query when not necessary and will update as soon as new content is posted.&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2003 09:23:28 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1132899 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1132892</link>
    <description> &lt;p&gt;As Suzanne mentioned, you could create a cron job that would basically run a PHP script that would build HTML pages based on the common searches. Then your script would check to see if the user does a common search and redirect them to a HTML page, if not then query the database.&lt;/p&gt;
&lt;p&gt;...OR...&lt;/p&gt;
&lt;p&gt;...you could simply move to a new and better web host &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2003 05:17:15 +0000</pubDate>
 <dc:creator>zollet</dc:creator>
 <guid isPermaLink="false">comment 1132892 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/there-way-cache-query-results#comment-1132883</link>
    <description> &lt;p&gt;Java Beans will do this for you. Or you can manually do the more common searches yourself (setting them up, I mean) and use a php script to update them as needed.&lt;/p&gt;
&lt;p&gt;So, yes.&lt;/p&gt;
&lt;p&gt;For the php script, you would create a cronjob to run the script at whatever intervals you chose.&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2003 00:54:24 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1132883 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
