Mawhorter.net Forums

Home of the facelift image replacement forums

You are not logged in.

Announcement

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

#1 2009-04-26 16:34:52

burtonkent
Snork
Registered: 2009-01-07
Posts: 14

FLIR and WPMU

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

 

#2 2009-09-22 19:13:39

cory
Administrator
From: Detroit
Registered: 2008-08-05
Posts: 929
Website

Re: FLIR and WPMU

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.


Check out Facelift v2.0 beta 3.  The best version yet.

Offline

 

#3 2009-09-23 22:12:35

dzappone
Moderator
From: Austin, TX
Registered: 2008-08-08
Posts: 79
Website

Re: FLIR and WPMU

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)


Dan Zappone
23Systems
Web Design, Development and Hosting
http://www.23systems.net

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB