Results 1 to 7 of 7
Like Tree2Likes
  • 1 Post By ziemniachan
  • 1 Post By ziemniachan

Thread: Problem with cache

  1. #1
    ziemniachan is offline Junior Member
    Join Date
    Aug 2019
    Posts
    5

    Question Problem with cache

    Hello!
    Here's the problem: website needs to be refreshed twice to see a new content, otherwise user will see a cached version of the website. It's quite troublesome when you have a live website and users need an instant update when a new post appears. I illustrated the problem with a video:
    After posting, site automatically refreshes itself but there's still 'No new threads'. Only when you refresh it manually for the second time, you'll see a new thread. This is happening on Altervista only, I have tested the same website on 000webhost before. It's not a browser/device issue, I have tested it on many configurations and all users can't see their new post after posting.
    laravista likes this.

  2. #2
    laravista is offline Utente AlterBlog
    Join Date
    Dec 2019
    Posts
    45

  3. #3
    ziemniachan is offline Junior Member
    Join Date
    Aug 2019
    Posts
    5

    Default

    It's using open-source imageboard engine, fork of tinyboard https://github.com/vichan-devel/vichan
    laravista likes this.

  4. #4
    laravista is offline Utente AlterBlog
    Join Date
    Dec 2019
    Posts
    45

    Default

    WOW, wonderful!!!
    Because here for example I do not see cache problems (I added my comment on top)
    https://lain.altervista.org/b/index.html

  5. #5
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    679

    Default

    Quote Originally Posted by ziemniachan View Post
    Here's the problem: website needs to be refreshed twice to see a new content
    Did you have CloudFlare? Can you try to disable it?

    Bye!

  6. #6
    ziemniachan is offline Junior Member
    Join Date
    Aug 2019
    Posts
    5

    Default

    Quote Originally Posted by alemoppo View Post
    Did you have CloudFlare? Can you try to disable it?
    I clicked Activate CloudFlare in control panel over a week ago but it still says 'CloudFlare will be enabled within 24 hours' and nothing can be done.

  7. #7
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    679

    Default

    Has CloudFlare been activated?
    (in order not to have cache problems, you should disable it!)

    Try to use the .htaccess to force the cache refresh; for example:
    Code:
    ExpiresDefault "access plus 60 seconds"

    Bye!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO