[FX.php List] Speeding up page display
DC
dan.cynosure at dbmscan.com
Fri Aug 25 10:39:45 MDT 2006
I've had a lot of success with using Smarty to help cache FMP
results. Caching avoids a database call.
http://smarty.php.net
also, check the wiki for a writeup a did a few years back with my
specific requirements (which were similar to yours):
http://smarty.incutio.com/?page=CacheAndCompile
If your HTML data doesn't change that much (meaning you're storing it
in an FMP database because of organization rather than "update-
ability"), Smarty has the ticket for you.
It's a little learning up front but you should be able to get FMP
results to cache within 1 or two hours of grabbing the Smarty
codebase and following their great crash course.
Of course, there are other, more basic caching systems out there that
will help you write your FMP output into raw HTML to disk and have it
served as raw HTML from then on unless you "flip a switch" to let the
page request go to the database.
try googling php caching tutorial
dan
On Aug 25, 2006, at 12:10 PM, Bob Patin wrote:
> I don't want to try to bring MySQL into the equation; if I were
> going to do that I'd not be using FileMaker at all... :)
>
> I'll look into the flush function, thanks...
>
>
> On Aug 25, 2006, at 10:57 AM, Derrick Fogle wrote:
>
>> Doing anything besides just echoing the data out is going to take
>> longer than just echoing the data out. 99% of the slowness is
>> probably FM outputting the data so PHP can do it's part. You can
>> try the flush() function to try to get that data out to the
>> browser as fast as possible, and if that's not good enough, you
>> may be faced with the nasty job of buffering FM with MySQL to
>> eliminate that bottleneck.
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060825/8cb9fdf7/attachment.html
More information about the FX.php_List
mailing list