Git Product home page Git Product logo

Comments (5)

cy6erGn0m avatar cy6erGn0m commented on April 28, 2024

The reason is wrong cache control header specified for the page.

from ktor.

soywiz avatar soywiz commented on April 28, 2024

I suppose I should update the one in the ktor-samples repo, right? ( https://github.com/ktorio/ktor-samples/tree/master/app/youkube )

from ktor.

orangy avatar orangy commented on April 28, 2024

@soywiz yes, please, after @elizarov finishes with migration.

from ktor.

soywiz avatar soywiz commented on April 28, 2024

Can't reproduce it, at least on master it seems to work fine. I have just tried it, and the only relevant header for this is ETag. That changes on content changes:

Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Date: Thu, 12 Apr 2018 11:08:10 GMT
ETag: 1027539052-3506402
Server: ktor-server-core/0.9.2-alpha-5 ktor-server-core/0.9.2-alpha-5
transfer-encoding: chunked

I upload a video, then press the WATCH links that points to /, and the new video appears there without any issues. Both with the logged session or with an incognito session just by refreshing the page.

from ktor.

soywiz avatar soywiz commented on April 28, 2024

I'm closing this, since can't reproduce. Probably this is something that was fixed at some point :)

from ktor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.