Support » Plugins and Hacks » WP Super Cache » [Plugin: WP Super Cache] Multiple directories for a given directory depending on

  • Resolved skippybosco

    (@skippybosco)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Donncha O Caoimh

    (@donncha)


    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.

    Thanks for the follow up. Understood.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Super Cache] Multiple directories for a given directory depending on’ is closed to new replies.