Git Product home page Git Product logo

Comments (4)

jonaseberle avatar jonaseberle commented on June 30, 2024

See https://forge.typo3.org/issues/99203 for TypoScript solutions and comments on https://typo3.slack.com/archives/C02JDFFLBEW/p1669449850484169

from extension-cookieman.

jonaseberle avatar jonaseberle commented on June 30, 2024

We could...

  1. make inject a string / stdWrap (probably with recommendation to use {path : EXT:...})

    • Requires users to update their cookieman configuration for injected local URLs.
    • Does not solve the greater problem of referencing arbitrary assets from JS or from an external system.
    • Could benefit from cache-busting param feature (probably only v12+)
  2. have a middleware that keeps /typo3conf/ext/.../Resources/Public/... working by either readfile()ing or forwarding (307) to the final location. For performance it could transparently add symlinks on the fly if the file system is writable (to be used for consecutive requests).

    • Benefits all use cases that want to continue using known local URLs.
    • For sending via PHP: Setting headers adds an unnecessary layer and potential source of problems. Doing a local request for passing through web server's headers could be a performance problem or fail in some environments.
    • For forwarding: Needs validation if it works reliably with all types of assets in all browsers (should in theory).
  3. have a composer plugin that manages symlinks for installed/uninstalled typo3-cms-extension packages.

from extension-cookieman.

jonaseberle avatar jonaseberle commented on June 30, 2024

Relates: a-r-m-i-n/min#12

from extension-cookieman.

jonaseberle avatar jonaseberle commented on June 30, 2024

By using 1. now we are trying to stay close to "how it is supposed to work".

from extension-cookieman.

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.