Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • I think is not a good practice use query strings because it affect the site performance, as you said before, it prevent to be cacheable, so every time it should be loaded (although is just a small size file).

    Query strings are still a popular way to version assets, and they don’t normally cause major issues.

    The query strings this plugin uses should not prevent the fontello font from being cached in most cases – the vast majority of browsers will load fontello on the first visit, but use a cached copy on subsequent page visits.

    To test this yourself, you can:

    1. Visit a site in Chrome that uses Simple Social Icons, such as https://www.genesisframework.com/.

    2. Open the Network tab, search for Fontello, then clear your cache and refresh the page. You’ll see that the site loads the font the first time with a status of 200 and a size of 5.9KB: https://d.pr/i/qRlG

    3. Refresh the page. You’ll see that the resource size now says “from cache” to indicate that the file was served from a local cache and not requested from the server this time, despite the query string. https://d.pr/i/14SqF

    The only time the query string may cause an issue is if:

    a. A (typically quite old) proxy server ignores the query string and caches an old copy of the font, then serves it instead of the newly updated one.

    b. You’re using a CDN that’s configured to ignore query strings (not generally the default). In this case, you may also end up serving a stale version of the font if the CDN isn’t refreshed after a plugin update.

    If you’re not experiencing either of these issues, the query string should pose no problem. If you’re running into those issues and this starts to affect other plugin users too, I’d be very happy to pass on your recommendation to switch to file name versioning instead of query string versioning.

    I hope that explanation proves useful, and many thanks again for the feedback!

    Also remove this line:

    <?php do_action( 'simplecatch_credits' ); ?>

    You’ll need to edit the file named ‘footer.php’ to remove the following code:

    <?php _e( 'Copyright', 'simplecatch' ); ?> &copy; <?php echo date("Y"); ?> <span><?php bloginfo('name')?></span>. <?php _e( 'All Rights Reserved.', 'simplecatch' ); ?>

    Be sure not to remove the preceding closing php tag ?> at the beginning of the same line. That needs to stay there.

    I managed to resolve this by changing the FeedBurner feed address. Here are the steps:

    1) Log into your FeedBurner account
    2) Click your feed title, then “edit feed details”
    3) Change the “original feed” field from https://myblog.com/?feed=rss2 to https://myblog.com/feed/rss2
    4) Click “save feed details”
    5) Login to your WP admin
    6) Click the “settings” tab
    7) Click the “WP Super Cache” link
    8) Scroll down and click “Delete cache”
    9) Log out and visit your homepage

    That’s it! Hope it helps.

    Just wanted to drop by to say a big thanks to jsherk!

    I’ve been having the same problem with pages not displaying since upgrading to WP2.5, and the rewrite.php trick above worked wonderfully.

Viewing 5 replies - 1 through 5 (of 5 total)