Support » Plugin: LiteSpeed Cache » Do not cache front page

  • Resolved greencode

    (@greencode)


    Is there any way to stop Litespeed caching the homepage? I know, sounds weird, but I just have a random image and logo, with menu, on the homepage and so that image is not longer random!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author LiteSpeed Technologies

    (@litespeedtech)

    Hi greencode,

    This depends on how your blog is accessed.

    The setting you are looking for is litespeed cache -> settings -> do not cache rules -> do not cache URI
    If your blog is accessed like example.com or sub.example.com, you could just enter /$.

    Else, if your blog is accessed like example.com/blog/, you will need to enter /blog/$

    If you are not sure, just post a link and I’ll give you something to try 🙂

    Cheers,
    Kevin

    Plugin Author LiteSpeed Technologies

    (@litespeedtech)

    Alternatively, we do have a TTL specific for the front page. You can cache everything else for hours/days, then have the front page cached for 5 minutes or something short so that it randomizes every 5 minutes.

    Cheers,
    Kevin

    What I’ve done is cache the front page to the minimum 30 seconds. That’ll be fine.

    Plugin Author LiteSpeed Technologies

    (@litespeedtech)

    Sounds good, glad you found a solution!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Do not cache front page’ is closed to new replies.