mittwald / typo3-varnishcache Goto Github PK
View Code? Open in Web Editor NEWTYPO3 extension for managing a Varnish cache
License: GNU General Public License v2.0
TYPO3 extension for managing a Varnish cache
License: GNU General Public License v2.0
If the FrontendUrlGenerator hits an access restricted page, it will break with an ImmediateResponseException while initializing the Frontend.
This happens to me when saving a page and it tries to clear the cache for a Sys Folder doktype.
Because it is not accessible in the Frontend, only a 403 response is send and it is annoying in the backend.
Hi there,
the following ESI tag is generated:
<!--esi <esi:include src="http://dev.local/index.php?id=101&type=12345&identifier=07b84148523076f59cac37d2b7cea339&key=%3Cdiv%20id%3D%22c1646%22%20class%3D%22csc-default%20no-layout%20csc-space-after-25%22%3EINT_SCRIPT.d69af2d1bcd932a7b5fffe92f8433e8d%3C%2Fdiv%3E&varnish=1" />-->
If you add &element=1646
(the part you can see in the first few bits of the key param) you get the correct content element, but the content isn't translated.
Is this a bug or is there something wrong with the site? solr (the page for the search results) for example also doesn't work.
Using 1.0.2 from TER and TYPO3 6.2.26.
I hope you can help me.
I've installed your extension and included the static typoscript settings, but what to do next? In your Documentation you mentioned a picture with the Varnish Server Configuration, but where I find these section? The only thing I found is the option to disable caching for a specific Content Element.
While creating an new varnish server configuration record i get the following exception:
Uncaught TYPO3 Exception
1247602160: Table 'usr_pXXXXXX_1.tx_varnishcache_domain_model_sysdomain' doesn't exist
It seems to be that there is no tx_varnishcache_domain_model_sysdomain table in the ext_tables.sql file?
Hi there,
your press release says that this extension offers a "Configuration for the Varnish Cache Server" ("Konfiguration für den Varnish Cache Server"). This means a VCL file?
I haven't found anything in the docs or in the extension itself. Is it missing or did I misinterpret this part?
Greetings
Hi,
when saving a content-element in backend. jQuery will be loaded from wrong url. There is a duplicate typo3 in path. (eg: https://test.domain.local/typo3/typo3/sysext/core/Resources/Public/JavaScript/Contrib/jquery/jquery-2.1.4.min.js)
I searched in the sourcecode and found, that generating GLOBALS['TSFE'] in function initFrontend in Class Mittwald\Varnishcache\Service\FrontendUrlGenerator causes this.
Why is this nessesary?
I commented it out and this solves my problem:
`
$GLOBALS['TSFE'] = GeneralUtility::makeInstance(
'TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController',
$GLOBALS['TYPO3_CONF_VARS'],
$uid,
0
);
$GLOBALS['TSFE']->connectToDB();
$GLOBALS['TSFE']->initFEuser();
$GLOBALS['TSFE']->determineId();
$GLOBALS['TSFE']->initTemplate();
$GLOBALS['TSFE']->getConfigArray();
`
Regards
Heiko
ESI Tags are used by default now for _INT objects and CE which have flag "exclude_from_cache".
But it should be possible to disable this function if ESI-Tags are not supported by Varnish.
@pstranghoener You think we need that option?
The TypoScript condition throws an error with PHP 8.1
[traverse(request.getQueryParams(), 'type') == {$plugin.varnishcache.settings.typeNum}]
(v11)[request.getPageArguments()?.getPageType() == {$plugin.varnishcache.settings.typeNum}]
(v12)Hi there,
I get the message "Page is being generated. If this message does not disappear within 30 seconds, please reload." when varnishcache extension is active.
On pages with this message are own plugins. Do I have respect something about caching if I use varnishcache?
Using 1.0.3 from TER and TYPO3 7.6.14
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.