This question is in relation to a previous post I made about a lot of
request through port 51011. Was able to resolve a lot of the traffic by
caching. We are using a MySQL database and MX7 with an include file on
the home page which calls this file:
<cfquery datasource="admin_panel" name="etext"
cachedwithin="#createTimespan(0,0,1,0)#">
SELECT *
FROM emergency
WHERE active = 1
LIMIT 1
</cfquery>
<cfloop query="etext">
<section class="grid_11 push_4 mainContent"
id="emergency">
<img src="/images/icons/template/exclamation-icon.png"
id="emergencyIcon"/>
<h2><cfoutput>#etext.title#</cfoutput></h2>
<cfoutput>#etext.text#</cfoutput>
</section>
</cfloop>
The traffic has reduced a lot but my System Admin is request that I use
a Flat File to reduce traffic even more. Never used a flat file before
or how CF would handle it. Any guidance would be appreciated.
Steve LaBadie, Web Manager
East Stroudsburg University
570-422-3999
[email protected]
<http://www.facebook.com/eaststroudsburguniversity>
<http://twitter.com/esuniversity>
<http://www.youtube.com/user/esuedu>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352447
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm