Forum Replies Created

Viewing 15 replies - 1 through 15 (of 38 total)
  • You guys might be interested in Project Nami. It was built specifically for the SQL Azure platform and can be installed in an Azure Website in just a few minutes. A handful of enterprise level sites have already adopted the platform. Multisite and single site installs work for subdomain and non-subdomain installs and a working web.config is included, as well.

    Plugin Author Spencer Cameron-Morin

    (@spencercameron)

    Hi ramonjosegn,

    The plugin can speed up a site with a slow database server immensely with basically no setup or configuration. However, sites looking for more performance can easily get it by using an alternative caching method. The ease of use this plugin provides comes at a cost. That cost is speed. The reason I developed this plugin is I was curious to know whether or not it would fill a void for people wanting simplicity of setup and were willing to trade some responsiveness for it.

    I’m noticing many users installing and then removing Codespanker Cache fairly quickly. This leads me to believe they may not be that interested in the tradeoff inherent in this plugin’s architecture.

    When I tested your site in a previous help thread, I noted about an 80% decrease in load time when caching was enabled. That’s pretty awesome compared to what you had, but it can be even faster using more direct caching methods.

    Ultimately, the service costs money to maintain and it doesn’t appear there is much interest in it. ??

    Plugin Author Spencer Cameron-Morin

    (@spencercameron)

    Codespanker Cache works great with a CDN. Since it caches the page content itself, images and other assets would still need to be served. A CDN would be a great compliment in this case.

    The plugin currently supports full-page caching. That means once your server generates a page ( when the page is visited and there isn’t currently a cached copy ), subsequent visitors are served the cached copy until the cached copy expires. It’s hard to say whether or not this would interfere with caching you already have set up.

    Can you explain what server-side caching is already being done?

    Plugin Author Spencer Cameron-Morin

    (@spencercameron)

    Greetings,

    It really depends on how often your content changes. If changes are made regularly, you may want to set the cache anywhere from 5-15 minutes ( 300-900 seconds). If your content rarely changes, consider caching it for a longer time period; an hour ( 3600 seconds ) or so, perhaps.

    It really is completely up to you. ??

    Plugin Author Spencer Cameron-Morin

    (@spencercameron)

    Hi Chris,

    Great questions.

    * Offhand, I don’t see why it wouldn’t work with Cloudfare, but it hasn’t been tested with it. I would keep an eye on it and make sure you don’t see any issues.

    * You shouldn’t use WP Super Cache and Codespanker Cache. They both do similar things. You should probably pick one ( WP Super Cache will most likely be faster when configured correctly ).

    * If Codespanker Cache servers go down, your pages will still render just fine. You just won’t have the speed boost from caching while they’re down.

    Forum: Plugins
    In reply to: [Codespanker Cache] Cache
    Plugin Author Spencer Cameron-Morin

    (@spencercameron)

    Awesome. Let me know if I can do anything else for you. ??

    Forum: Plugins
    In reply to: [Codespanker Cache] Cache
    Plugin Author Spencer Cameron-Morin

    (@spencercameron)

    Firstly, you’ll need to log out to see the HTML comments regarding performance. I viewed one of the pages on your site and got the following when I viewed the page source ( just above </head> ):

    First View ( uncached ):
    <!-- Page generated without caching in 1.29125404358 seconds. -->

    Second View ( cached ):
    <!-- Served by Codespanker Cache in 0.174492120743 seconds. -->

    Given those numbers, your site served the content over 86% faster with the cache than without it.

    Try viewing the page again while you’re logged out and let me know what you find.

    Secondly, when you ran those tests, was the cache already set from you viewing the homepage? If so, both the first and second views may not be that much different.

    Note: Keep in mind that the time it takes for your site to serve the content ( which is reported by the caching plugin ) is not the same as the time it takes for your site to actually load in a browser.

    Forum: Plugins
    In reply to: [Codespanker Cache] Cache
    Plugin Author Spencer Cameron-Morin

    (@spencercameron)

    I’m seeing your site render just fine with the cache enabled. Can you please explain what you mean by “Nothing occurs”? ??

    I’ll make something for you this evening ??

    You’re very welcome, Will! If there’s anything else you need, just come on back. ??

    Hi desi4eva,

    I completely forgot about this. Do you still need help on it or have you solved it?

    I’m not sure what your function looks like that creates this shortcode, but you could use something like the following:

    // remove filters.
    remove_filter( 'the_content', 'wpautop' );
    remove_filter( 'the_content', 'wptexturize' );
    
    // no wpautop or wptexturize will be used.
    the_content();
    
    // put things back the way you found them.
    add_filter( 'the_content', 'wpautop' );
    add_filter( 'the_content', 'wptexturize' );

    A simpler solution would be to just use get_the_content(), instead of the_content().

    For instance:

    // this gets the post content before any filters act on it.
    $unfiltered_content = get_the_content();

    Let me know if this helps. ??

    Ouch. You’d need to parse the excerpt content in a custom function and then return a random portion. I’ll see if I can mock something up.

    Use this to query for posts in random order:

    $query = new WP_Query( array( 'post_type' => 'use_your_custom_post_type', 'orderby' => 'rand', 'no_found_rows' => true ) );

    Your loop ( on the search page, I assume. ) could look something like this now:

    <?php $query = new WP_Query( array(
                                        'post_type' => 'use_your_custom_post_type',
                                        'orderby' => 'rand',
                                        'no_found_rows' => true ) ); ?>
    
    <?php while( $query->have_posts() ) : $query->the_post(); ?>
        <?php // do your loop stuff here ?>
    <?php endwhile; ?>

    I haven’t tested this, but it should do the trick. Let me know if you have a problem. ??

    Do you just want to output a list of categories? Try using wp_list_categories. Also, what do you mean by reverse order? Reverse alphabetical order? Reverse order by date?

    List categories in reverse alphabetical order:
    wp_list_categories( array( 'orderby' => 'name', 'order' => 'DESC' ) );

    List categories in reverse order by date of creation:
    wp_list_categories( array( 'orderby' => 'ID', 'order' => 'DESC' ) );

    If this isn’t what you need, just holler back. ??

Viewing 15 replies - 1 through 15 (of 38 total)