WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
[resolved] Multiple directories for a given directory depending on (3 posts)

  1. skippybosco
    Member
    Posted 3 years ago #

    Notice that we have multiple directories created for a given post depending on the case used when linking to the post from a 3rd party site

    http://mydomain.com/2010/11/10/Example-Post

    -versus-

    http://mydomain.com/2010/11/10/example-post

    ...will result in two directories being cached:

    /wp-content/cache/supercached/mydomain.com/2010/11/10/Example-Post

    -AND-

    /wp-content/cache/supercached/mydomain.com/2010/11/10/example-post

    More will be added depending on the creativity of the person linking to the site externally.

    Is there anything that can be done to prevent this?

    A similar issue we are seeing related to erroneous 3rd party links are when the URL is linked at the end of a sentence and a period is included:

    Example:

    I really like the website http://mydomain.com.

    The result is 2 supercached subdirectories being created:

    /wp-content/cache/supercached/mydomain.com

    AND

    /wp-content/cache/supercached/mydomain.com.

    While these are not so much of an issue for smaller sites, for sites with significant volume this can create quite a duplication of server effort in trying to maintain multiple cached copies of the same posts.

    Any suggestions on how best to handle this?

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    Unfortunately these are WordPress issues first and foremost. WordPress happily answers those requests and Supercache is only caching the request it was given. It should not try to outsmart WordPress and do something that people don't expect.

    I have rarely, if ever, seen someone change the capitalisation on a URL like you describe, the fullstop problem does happen sometimes but they're minor problems and I wouldn't worry too much about them.

  3. skippybosco
    Member
    Posted 3 years ago #

    Thanks for the follow up. Understood.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic