Git Product home page Git Product logo

Comments (3)

pmeenan avatar pmeenan commented on June 28, 2024

The edge caching worker already sets a 1-year expiration and relies on purging to clear it. If the content is sufficiently low-traffic I expect it is being automatically cleared from the edge independent of the TTL. Do you have a sense for how long "not long" is and do you know what edge you are hitting?

from templates.

michaelbourne avatar michaelbourne commented on June 28, 2024

Initial tests showed cache hits for up to 3 hours, then all misses at 24 hours. I'll try to dedicate some more time to figure out a more specific number. Low traffic would be under 10 uniques in that 24 hours.

For which edge, I was noticing that testing from various regions was producing misses on the first load, hits thereafter, leading me to believe that CF wasn't pushing the cached data to those pops as fast as I was hitting them. ( I could be wildly wrong about how that works though)

Also some local peering issues I believe, as I'm in Calgary, and I'm hitting the Seattle pop by default.

I set a global page rule to see if that would have any effect, I'll report back. greatly appreciate your work on this, I'm loving the results so far.

from templates.

michaelbourne avatar michaelbourne commented on June 28, 2024

I didn't come up with hard numbers on this, but it does appear to be traffic related. I have set up 3rd party services to crawl a couple pages daily from various regions and those regions all seem to keep a cached version in CF, whereas the regions with no traffic are almost always misses.

I'll sum this up to a non issue, since low traffic areas aren't a high concern, but high traffic areas are cached properly.

from templates.

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.