[TYPO3-performance] Re: Clear Cache

Philipp Wrann philippwrann at gmail.com
Tue Jan 13 08:41:20 CET 2015


Add the stylesheet like page.includeCSS.main = path/to/style.css

When you change your stylesheet login in backend and clear your cache.

If you are in development context and need to change the styles all the time append &no_cache=1 to your url.

more complex approach:
I usually have a local installation in which i dont concatenate any assets and dont send any cache headers, here is simply need a ctrl+r refresh to load the changed style. In production development i set up asset concatenation, send cache headers etc... and when i have changes i do a deploy via console, from there i can also run a command to clear caches.

Asset concatenation can be set up via:
config.concatenateCss = 1
config.concatenateJs = 1

That way your styles are concatenated into one file (less connections for browsers) and that file is appended by a hash when its beeing concatenated.

You can not set up a hook that fires when you upload something via ftp.
Also you dont want to check for the change on every request.


More information about the TYPO3-performance mailing list