• Any idea how not to make WP-Cache not cache the very first page of your wordpress. I can’t seem to figure what to put in the “Rejected URIs” field.

Viewing 4 replies - 16 through 19 (of 19 total)
  • “post1” its post slug.

    wordpress is installed at my home network i can’t post link ‘couse its impossible to view site via internet.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    its post slug.

    Well, then what you want is not possible. Sorry. There’s no way to recognize a single post URL when you don’t have anything unique to that URL. If you were using a more common permalink config, then there might be a way, but if all you’re using is %postname%, then there’s no solution.

    Another question I have that relates to this is whether it is possible to exclude a range of URIs from being cached?

    Say I want https://www.domain.com/gallery/ to be cached, but I do not want https://www.domain.com/gallery/####/ to be cached (with #### being a 4-digit random number). And say I have 100 of these https://www.domain.com/gallery/####/ pages that I don’t want cached. With WP-Cache, if you say don’t cache /gallery/ it will also not cache pages that are children to this URI segment. Is there maybe a way to use a wild-card character with the plugin settings? Say, something like: do not cache /gallery/*

    and I know you could do something where you say don’t index:

    /gallery/1
    /gallery/2
    /gallery/3

    but I just mentioned using numbers as an example. Would really like to figure out if it is possible to use a wild-card character with the rejected URIs list.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘WP-Cache: Do not cache the index page’ is closed to new replies.