Home of the facelift image replacement forums
You are not logged in.
It looks like recaptcha is easily thwarted either by cheap labor or some other means, because I am still getting tons of spam signups.
I'm closing registrations again, if you would like to register, please email me at cory.mawhorter@ephective.com and use the subject line "Forum Registration". Give me your name and all the standard stuff in that email.
I will just have to do manual registrations until I have more time to spend on this problem.
-Cory, 2010-03-15
Dan,
I've coded a really sweet wordpress theme using FLIR for font substitution. PM me if you'd like a link to check it out. Of my clients, about 4 out of the last 6 chose this theme for their site.
Problem is, it's not really fast - which I expected anyway. I don't understand the cache well enough to know if twiddling it would make a difference. I'm considering hacking the plugin to move the cache dir to the user upload directory. Each user would have their own cache. Would this make much of a difference? The average number of pages per site is about 12, and each page has about 10-20 FLIR items (due to the menu).
Thanks for any advice. It's using the Jquery library, BTW.
Burton
Offline
Try progressively replacing the elements on the pages from most important to least.
For example...
<ul id="menu">
<li>Main menu item
<ul>
<li>Sub-menu item
You should of course render all the main menu items before the subs... so something liek..
$('h1,h2,h3,h4,h5').each(function() { FLIR.replace.... }); // headers are more important than the menu
$('#menu>li').each(function() { FLIR.replace.... });
$('#menu ul li').each(function() { FLIR.replace.... }); // least important replaced elements
$('#menu>li').each(function() { FLIR.replace.... });
Also, you might want to use firebug to check that the the proper caching headers are being sent. If you have debug mode turned on in FLIR, the image will be generated each time for the user.
Offline
You can use APC (Alternative PHP Cache) to dramatically speed up web pages using PHP. It will reduce load times for pages with FLIR by a factor of 4 on average.
See this article Installing Alterative PHP Cache (APC) with Plesk on Ubuntu
If you need more help getting it to run let me know or if you are using Red Hat, CentOS, Suse or Windows or something I can help you get it working on there too.
@Cory - That reminds me I better double check and make sure the config isn't leaving debug mode on.
Last edited by dzappone (2009-09-23 22:13:34)
Offline