Comments (4)
See https://forge.typo3.org/issues/99203 for TypoScript solutions and comments on https://typo3.slack.com/archives/C02JDFFLBEW/p1669449850484169
from extension-cookieman.
We could...
-
make
inject
astring / 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+)
-
have a middleware that keeps
/typo3conf/ext/.../Resources/Public/...
working by eitherreadfile()
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).
-
have a composer plugin that manages symlinks for installed/uninstalled
typo3-cms-extension
packages.- Benefits all use cases that want to continue using known local URLs.
- composer-only is not a problem: the new folder structure only applies to composer-installs
- it might be non-trivial to replicate https://github.com/TYPO3/typo3/blob/12.1/typo3/sysext/core/Classes/Composer/PackageArtifactBuilder.php#L269 outside of a TYPO3 context (the exact way of building the _asset path is not public API AFAIK)
from extension-cookieman.
Relates: a-r-m-i-n/min#12
from extension-cookieman.
By using 1. now we are trying to stay close to "how it is supposed to work".
from extension-cookieman.
Related Issues (20)
- Destroy cookie CookieConsent if is older than some specified date HOT 2
- Why using void return in themes? HOT 2
- Removal of cookies is not complete due to missing "/" path HOT 1
- Add test if the modal window can be displayed HOT 7
- group.respectDnt = 0 is not respected HOT 4
- Too few arguments to function Dmind\Cookieman\DataProcessing\TypoScriptSettingsProcessor::__construct(), 0 passed in HOT 2
- EditorConfig sets wrong indent size HOT 5
- Logo in modal header HOT 2
- Class btn-small doesn't exist in Bootstrap 3
- Google Consent Mode Integration HOT 2
- CookieConsent cookie expires only after 1 week HOT 4
- Accessibility: Fix headline hierarchie in modal HOT 1
- TYPO3 12 compatibility HOT 19
- htmlCookieRemovalPattern for GA4 tag HOT 3
- Could it be possible to include bootstrap js in extension HOT 1
- Option to refresh page if user accept all cookies HOT 2
- Cookies get set on page refresh despite preferences HOT 2
- Setting: Open with a time delay HOT 4
- Update Google trackingObjects, lifespan etc. from official source HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extension-cookieman.