Giter Club home page Giter Club logo

Comments (1)

fiwswe avatar fiwswe commented on June 3, 2024

Sorry, I don't see any problem. Apparently the picture shows HTTP requests which all appear to be successful (status 200).

Your improvement seems to be simple caching. Most browsers will do that automatically. DokuWiki just needs to allow caching for the given resources by sending the appropriate HTTP headers. Are you trying to say that this is not the case?

I see a cache-control: header when I check the scenario you described. It states a maximum age of 2h. There are also ETag: and Expires: headers. So it seems that caching was considered and enabled for these resources. And a maximum age of 2h seems reasonable.

Your improvement might miss changed images since it would implement a permanent cache.

In addition not all plugin directories may be writable by the web server. E.g. I have wikis where the base install of DokuWiki, including the bundled plugins are only readable, not writable. Only manually installed plugins/templates are writable.

And last but not least: This would be a very low priority optimisation because do=admin&page=extension is not used very often in a normal usage scenario. So who cares if it takes a moment?

There is no DokuWiki version 2024-02-14a. Did you mean 2024-02-06a?

from dokuwiki.

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.