TYPO3CMS/Extensions/nc_staticfilecache.git
2 years agoPrepare release 3.6.0 master
Tim Lochmüller [Tue, 22 Mar 2016 07:31:04 +0000 (08:31 +0100)]
Prepare release 3.6.0

2 years agodoc/nginx: Fix redirects to not loose post data
Benjamin Franzke [Tue, 22 Mar 2016 04:16:37 +0000 (05:16 +0100)]
doc/nginx: Fix redirects to not loose post data

error_pages defined to an URI will perform an internal nginx redirect
that transforms POST to GET.
To work around that, we can use named location (starting with @).

2 years agoFix #75210 - thanks to Stefan Galinski
Tim Lochmüller [Mon, 21 Mar 2016 21:05:44 +0000 (22:05 +0100)]
Fix #75210 - thanks to Stefan Galinski

3 years ago[BUGFIX] Remove the wrong note of the .htaccess file
Tim Lochmüller [Mon, 4 Jan 2016 20:18:23 +0000 (21:18 +0100)]
[BUGFIX] Remove the wrong note of the .htaccess file

Change-Id: If1773e7910b61ae8787115734cba66b9a5d6260a

3 years agoProvide PSR-4 autoload information
Benjamin Franzke [Mon, 4 Jan 2016 19:00:44 +0000 (20:00 +0100)]
Provide PSR-4 autoload information

This is to prevent TYPO3 from having to scan the entire
extension directory. See:
https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/7.5/Feature-68700-AutoloadDefinitionCanBeProvidedInExt_emconfphp.html

3 years ago[FOLLOWUP] Migrate to static::class
Benjamin Franzke [Tue, 29 Dec 2015 19:00:22 +0000 (20:00 +0100)]
[FOLLOWUP] Migrate to static::class

Use self:: where applicable and format according to PSR-2

3 years ago[TASK] Migrate to static::class (require PHP 5.5 now)
Tim Lochmüller [Tue, 29 Dec 2015 09:37:22 +0000 (10:37 +0100)]
[TASK] Migrate to static::class (require PHP 5.5 now)

Change-Id: I3254978497409abcb4ac83c8f9ca2169ab0da98f

3 years ago[TASK] Migrate to static::class (require PHP 5.5 now)
Tim Lochmüller [Tue, 29 Dec 2015 09:33:15 +0000 (10:33 +0100)]
[TASK] Migrate to static::class (require PHP 5.5 now)

Change-Id: I9dd7409dbacf68bd5fff88806a6ff82c10492081

3 years ago[TASK] htaccess: Generate direct access protection
Benjamin Franzke [Sat, 26 Dec 2015 09:05:03 +0000 (10:05 +0100)]
[TASK] htaccess: Generate direct access protection

When the root .htaccess invokes the RewriteRule to typo3temp/tx_ncstaticfilecache/
apache performs an internal redirect where the root .htaccess is ignored since the subdirectory
includes an .htaccess file that includes an own set of RewriteRules.
Prevent direct access by including the access check in all .htaccess files.

3 years agodoc: Add nginx configuration
Benjamin Franzke [Thu, 24 Dec 2015 19:07:30 +0000 (20:07 +0100)]
doc: Add nginx configuration

3 years ago[CLEANUP] More PSR-2 adjustments
Benjamin Franzke [Mon, 28 Dec 2015 18:21:56 +0000 (19:21 +0100)]
[CLEANUP] More PSR-2 adjustments

Done with: php-cs-fixer fix ./ --level=psr2

3 years ago[TASK] htaccess: create if any of the sendCacheHeader settings are true
Benjamin Franzke [Sat, 26 Dec 2015 08:26:02 +0000 (09:26 +0100)]
[TASK] htaccess: create if any of the sendCacheHeader settings are true

It may be desired to use the redirect after cache timeout feature
without sending expire headers.

3 years ago[TASK] Remove HTTP_PRAGMA/CACHE_CONTROL check from htaccess documentation
Benjamin Franzke [Thu, 24 Dec 2015 10:21:36 +0000 (11:21 +0100)]
[TASK] Remove HTTP_PRAGMA/CACHE_CONTROL check from htaccess documentation

Cache control is only active if a backend user is logged in and we do
check for that using the be_typo_user cookie condition.

No need to direct the request to TYPO3 for for non-backend-users, since the TSFE
will deliver a cached page anyway.

3 years ago[TASK] Remove the broken (and unneeded) no-cache header detection
Benjamin Franzke [Thu, 24 Dec 2015 09:52:45 +0000 (10:52 +0100)]
[TASK] Remove the broken (and unneeded) no-cache header detection

The hook was registered to the 'tslib_fe-PostPrc' callback.
That callback is run at the end of the TSFE's constructor.
At that time the beUserLogin is not yet filled, but always initialized to NULL.
Cause of that the cache detection will always return FALSE and the hook never clears anything.

Removing this now since we're receiving a cache update in the insertPageIncache anyway
and don't need to check for the headers ourselves.

3 years ago[BUGFIX] Do not prohibit valid cache updates
Benjamin Franzke [Mon, 28 Dec 2015 18:29:56 +0000 (19:29 +0100)]
[BUGFIX] Do not prohibit valid cache updates

Commit f1ffcad (Bug #67526) added a detection of already stored cache identifiers
and prevented any cache update without a prior explicit flush.

This broke the ctrl + shift + reload feature since our HeaderNoCache hook is also
broken and never clears the current page from the static file cache.
Prior to the aformentioned patch that wasn't noticed since an explicit flush was
not necessary because the cache update through insertPageIncache does all we need
for ctrl + shift + reload to work.

This patch moves the detection of an already valid cache entry into a helper function
to improve readability.

3 years ago[BUGFIX] Remove clearCachePostProc hook to prevent double flush
Benjamin Franzke [Wed, 23 Dec 2015 16:36:05 +0000 (17:36 +0100)]
[BUGFIX] Remove clearCachePostProc hook to prevent double flush

We don't need to hook into that function (anymore) since our caches get flushed
implicitly through the caching framework:
The DataHandler's clear functions (that invoke the removed hook) perform all cache flushes
on the "pages" group. Our file cache is part of that group and as such our flush/flushByTag
functions are called anyway.
So calling them once more from the clearCachePostProc hook is overhead and unneeded duplication
of the clearCacheCmd functionality.

3 years ago[BUGFIX] Re-enable the clearCacheForAllDomains == false functionality
Benjamin Franzke [Sat, 26 Dec 2015 08:24:39 +0000 (09:24 +0100)]
[BUGFIX] Re-enable the clearCacheForAllDomains == false functionality

Move the decision whether to clear the entire cache or only the current domain's
into StaticFileBackend::flush. Deciding into clearCachePostProc is not enough,
since StaticFileBackend::flush is additionally called directly through the DataHandler's
flush on the cache flush on the group 'pages'.

3 years ago[FEATURE] Add TSFE pageCacheTags to our own cache
Benjamin Franzke [Wed, 23 Dec 2015 14:07:30 +0000 (15:07 +0100)]
[FEATURE] Add TSFE pageCacheTags to our own cache

By adding those tags, we're able to flush by all tags (core tags, page tags, runtime assigned) that can be
used to flush the 'pages' cache group.

This fixes the usage of:
  * cachetag syntax in TCEMAIN.clearCacheCmd, example:
    TCEMAIN.clearCacheCmd = cachetag:foo
  * DataHandlers automatic flush, example:
    when record NN of table tx_foo_domain_model_foo is changed, it will call the CacheManager:
    CacheManager::flushCachesInGroupByTag('pages', 'tx_foo_domain-model_foo_NN')
    (Note that you'd have to set the tags in your extension using $TSFE->addCacheTags() or stdWrap.addPageCacheTags)

We're adding a 'sfc_' prefix to our own tags to not clash with core/user defined tags.
Note that the pageId_NNN tag will be retrieved from $TSFE->pageCacheTags, and thus flushByTag('pageId_N')
will continue to work.

3 years agoPrepare release 3.5.0
Tim Lochmüller [Mon, 28 Dec 2015 09:47:26 +0000 (10:47 +0100)]
Prepare release 3.5.0

Change-Id: I9c1a755c13789df19051445ddaeb82f481408154

3 years ago[BUGFIX] Fix the remove expired pages button
Tim Lochmüller [Mon, 28 Dec 2015 09:40:32 +0000 (10:40 +0100)]
[BUGFIX] Fix the remove expired pages button

Change-Id: I627b74ff09c05eb668102772d8bb4aaebafb5c2b

3 years ago[BUGFIX] #70994 Tree view in info module just one entry (TYPO3 7.x)
Tim Lochmüller [Mon, 28 Dec 2015 09:35:58 +0000 (10:35 +0100)]
[BUGFIX] #70994 Tree view in info module just one entry (TYPO3 7.x)

Change-Id: I567be2f2674c00daeef71d50bf41480e70b70381

3 years ago[BUGIX] #70673 No static file after FE user logged out
Tim Lochmüller [Mon, 28 Dec 2015 09:08:12 +0000 (10:08 +0100)]
[BUGIX] #70673 No static file after FE user logged out

Change-Id: I5544e3184fb7a74b55801ba2239450afb2f7f0e4

3 years ago[TASK] Convert array to short syntax (need PHP 5.4.x)
Tim Lochmüller [Mon, 28 Dec 2015 08:14:53 +0000 (09:14 +0100)]
[TASK] Convert array to short syntax (need PHP 5.4.x)

Change-Id: I5941037d23ab5f95f629d7cd42e59d176415c55f

3 years ago[BUGFIX] There is no first parameter for the GeneralUtility::milliseconds function
Tim Lochmüller [Mon, 28 Dec 2015 08:08:20 +0000 (09:08 +0100)]
[BUGFIX] There is no first parameter for the GeneralUtility::milliseconds function

Change-Id: I705218df840377c2b8d73682f7a62342515019d7

3 years ago[TASK] Format the code by PSR-2
Tim Lochmüller [Mon, 28 Dec 2015 08:00:31 +0000 (09:00 +0100)]
[TASK] Format the code  by PSR-2

Change-Id: I43887cba2cfb3b3ccec3667b9c1670363d249310

3 years ago[TASK] Migrate Cookie related stuff to the CookieUtility
Tim Lochmüller [Mon, 28 Dec 2015 07:58:17 +0000 (08:58 +0100)]
[TASK] Migrate Cookie related stuff to the CookieUtility

Change-Id: I118892869c5422811ef8e8e27bc17ad08671068f

3 years ago[TASK] Format the htaccess file (one comment)
Tim Lochmüller [Mon, 28 Dec 2015 07:36:39 +0000 (08:36 +0100)]
[TASK] Format the htaccess file (one comment)

Change-Id: Ic77f815a74a765ef660ebca5a771555b78cabeda

3 years ago[BUGFIX] Fix the security rule to allow the redirect but disallow the direct access
Tim Lochmüller [Mon, 28 Dec 2015 07:28:54 +0000 (08:28 +0100)]
[BUGFIX] Fix the security rule to allow the redirect but disallow the direct access

Change-Id: I62861c33d6182dc4028551f0185161523bbd7c17

3 years ago[BUGFIX] Fix the "Illegal link configuration." check
Tim Lochmüller [Mon, 28 Dec 2015 07:22:37 +0000 (08:22 +0100)]
[BUGFIX] Fix the "Illegal link configuration." check

Change-Id: I793daadf5079f5a43cd5bc5f300f8360f7dd6906

3 years ago[TASK] Add same changelog information
Tim Lochmüller [Mon, 28 Dec 2015 07:11:50 +0000 (08:11 +0100)]
[TASK] Add same changelog information

Change-Id: I24a1983717e3dc2bbea9a3666d9eeda72fd47228

3 years ago[BUGFIX] Call the getPID function in the right way
Tim Lochmüller [Wed, 16 Dec 2015 11:09:11 +0000 (12:09 +0100)]
[BUGFIX] Call the getPID function in the right way

Change-Id: Ia493cbc1f486258db98f3fd1a8d9cbe4615aae25

3 years agoAdd one more rule check for the valid cache URI 10/45310/1
Tim Lochmüller [Wed, 16 Dec 2015 10:58:51 +0000 (11:58 +0100)]
Add one more rule check for the valid cache URI

Change-Id: Iba384c8fe62143bf2b404d0acc79d0eee082badf

3 years agoTest
Tim Lochmüller [Wed, 28 Oct 2015 20:57:17 +0000 (21:57 +0100)]
Test

3 years ago[CLEANUP] Remove blank lines in ext_tables.php
Fabien Udriot [Wed, 28 Oct 2015 08:52:35 +0000 (09:52 +0100)]
[CLEANUP] Remove blank lines in ext_tables.php

3 years ago[BUGFIX] don't delete cache, when editor changes content in workspaces
soda_2005 [Tue, 20 Oct 2015 13:46:53 +0000 (13:46 +0000)]
[BUGFIX] don't delete cache, when editor changes content in workspaces

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89929 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoFix the security rule
spyker [Fri, 2 Oct 2015 14:45:21 +0000 (14:45 +0000)]
Fix the security rule

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89867 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoPut the document root also in a env variable
spyker [Fri, 2 Oct 2015 14:41:05 +0000 (14:41 +0000)]
Put the document root also in a env variable

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89866 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoStreamline the htaccess configuration
spyker [Fri, 2 Oct 2015 14:35:32 +0000 (14:35 +0000)]
Streamline the htaccess configuration

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89865 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoFix typo in the htaccess file
spyker [Wed, 9 Sep 2015 09:11:47 +0000 (09:11 +0000)]
Fix typo in the htaccess file

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89760 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoIntroduce REQUEST_URI wrapper in the htaccess file. Fix problem of empty URI #59182
spyker [Wed, 9 Sep 2015 09:09:57 +0000 (09:09 +0000)]
Introduce REQUEST_URI wrapper in the htaccess file. Fix problem of empty URI #59182

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89759 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoThe URI contain a index.php that is not allowed for static file cache
spyker [Wed, 9 Sep 2015 09:04:50 +0000 (09:04 +0000)]
The URI contain a index.php that is not allowed for static file cache

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89758 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoPrepare Release 3.4.1
spyker [Thu, 20 Aug 2015 07:35:53 +0000 (07:35 +0000)]
Prepare Release 3.4.1

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89567 735d13b6-9817-0410-8766-e36946ffe9aa

3 years ago#68473 Fix compatiblity bug for 7.x
spyker [Thu, 20 Aug 2015 07:32:35 +0000 (07:32 +0000)]
#68473 Fix compatiblity bug for 7.x

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89566 735d13b6-9817-0410-8766-e36946ffe9aa

3 years ago[BUGFIX] prevent deletion of whole cache, when pageId is null
soda_2005 [Tue, 14 Jul 2015 09:50:21 +0000 (09:50 +0000)]
[BUGFIX] prevent deletion of whole cache, when pageId is null

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89469 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoPrepare Release 3.4.0
spyker [Mon, 13 Jul 2015 09:40:49 +0000 (09:40 +0000)]
Prepare Release 3.4.0

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89461 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoFix the fatal error in the UriBuilder with a fallback URI
spyker [Fri, 10 Jul 2015 15:02:37 +0000 (15:02 +0000)]
Fix the fatal error in the UriBuilder with a fallback URI

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89426 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoCleanup the htaccess, move to documentation, add security rule and cleanup the https...
spyker [Fri, 10 Jul 2015 14:47:55 +0000 (14:47 +0000)]
Cleanup the htaccess, move to documentation, add security rule and cleanup the https handling

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89424 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoFix https://forge.typo3.org/issues/67373
spyker [Wed, 17 Jun 2015 07:17:49 +0000 (07:17 +0000)]
Fix https://forge.typo3.org/issues/67373

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89248 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoFix https://forge.typo3.org/issues/67526
spyker [Wed, 17 Jun 2015 07:15:09 +0000 (07:15 +0000)]
Fix https://forge.typo3.org/issues/67526

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89247 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoPrepare Release 3.3.1
spyker [Fri, 8 May 2015 09:53:03 +0000 (09:53 +0000)]
Prepare Release 3.3.1

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89073 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoSplit up the Slot handling and the rule checking in the rules
spyker [Thu, 7 May 2015 09:57:47 +0000 (09:57 +0000)]
Split up the Slot handling and the rule checking in the rules

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89068 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoAdd one separate explanation for every single INT script in the page
spyker [Wed, 6 May 2015 11:31:49 +0000 (11:31 +0000)]
Add one separate explanation for every single INT script in the page

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89044 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoRemove the double .htaccess files, because realurl and simulateStaticDocuments use...
spyker [Tue, 5 May 2015 12:12:05 +0000 (12:12 +0000)]
Remove the double .htaccess files, because realurl and simulateStaticDocuments use the same structure

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89043 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoAdd lines of #58315 to the cookie hook, to check if a FE cookie already exists (disabled)
spyker [Tue, 5 May 2015 12:04:03 +0000 (12:04 +0000)]
Add lines of #58315 to the cookie hook, to check if a FE cookie already exists (disabled)

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89042 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoFix #66779 (partly) wrong empty Space in .htaccess template
spyker [Tue, 5 May 2015 11:52:37 +0000 (11:52 +0000)]
Fix #66779 (partly) wrong empty Space in .htaccess template

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89041 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoFix #56519 Add notice about AddType in the .htaccess
spyker [Tue, 5 May 2015 11:49:05 +0000 (11:49 +0000)]
Fix #56519 Add notice about AddType in the .htaccess

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89040 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoPrepare release 3.3.0
spyker [Mon, 4 May 2015 11:30:21 +0000 (11:30 +0000)]
Prepare release 3.3.0

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89038 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoCode cleanups
spyker [Thu, 30 Apr 2015 15:05:50 +0000 (15:05 +0000)]
Code cleanups

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89021 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoCode cleanups
spyker [Thu, 30 Apr 2015 15:04:19 +0000 (15:04 +0000)]
Code cleanups

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89020 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoCleanup comments
spyker [Thu, 30 Apr 2015 14:55:27 +0000 (14:55 +0000)]
Cleanup comments

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89019 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoCache the meta information as serialized array
spyker [Thu, 30 Apr 2015 12:42:09 +0000 (12:42 +0000)]
Cache the meta information as serialized array

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89018 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoRemove all the HTML in the backend module class
spyker [Thu, 30 Apr 2015 12:26:32 +0000 (12:26 +0000)]
Remove all the HTML in the backend module class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89017 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoAdd class information to the explanation
spyker [Thu, 30 Apr 2015 12:11:23 +0000 (12:11 +0000)]
Add class information to the explanation

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89016 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoAvoid double slash in the cache filename path
spyker [Thu, 30 Apr 2015 12:03:14 +0000 (12:03 +0000)]
Avoid double slash in the cache filename path

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89015 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoUse the PathUtility to call pathinfo functions
spyker [Thu, 30 Apr 2015 12:00:42 +0000 (12:00 +0000)]
Use the PathUtility to call pathinfo functions

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89014 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove More backend module HTML to template file and Introduce the CacheUtility
spyker [Thu, 30 Apr 2015 07:14:47 +0000 (07:14 +0000)]
Move More backend module HTML to template file and Introduce the CacheUtility

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89006 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMigrate the last two caching rules
spyker [Thu, 30 Apr 2015 06:51:45 +0000 (06:51 +0000)]
Migrate the last two caching rules

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89004 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoSet clearcacheonload to TRUE and set the Version compat to 6.2.x - 7.2.x
spyker [Thu, 30 Apr 2015 06:35:05 +0000 (06:35 +0000)]
Set clearcacheonload to TRUE and set the Version compat to 6.2.x - 7.2.x

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89003 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoEnable clearCacheForAllDomains again
spyker [Thu, 30 Apr 2015 06:31:50 +0000 (06:31 +0000)]
Enable clearCacheForAllDomains again

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@89002 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoCode cleanup and fix typos
spyker [Wed, 29 Apr 2015 15:34:44 +0000 (15:34 +0000)]
Code cleanup and fix typos

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88997 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove the setFeUserCookie Hook to separate class
spyker [Wed, 29 Apr 2015 15:26:36 +0000 (15:26 +0000)]
Move the setFeUserCookie Hook to separate class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88996 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove the ValidProtocol Rule to a separate class
spyker [Wed, 29 Apr 2015 14:25:33 +0000 (14:25 +0000)]
Move the ValidProtocol Rule to a separate class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88995 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoReplace Hooks with more modern Signals
spyker [Wed, 29 Apr 2015 11:26:07 +0000 (11:26 +0000)]
Replace Hooks with more modern Signals

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88985 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove the PageCacheable Rule to a separate class
spyker [Wed, 29 Apr 2015 11:16:30 +0000 (11:16 +0000)]
Move the PageCacheable Rule to a separate class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88983 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoLoginDeniedConfiguration
spyker [Wed, 29 Apr 2015 10:03:43 +0000 (10:03 +0000)]
LoginDeniedConfiguration

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88980 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoFix #66651 Missing %{TIME} in RewritCond for Cache-Control header
spyker [Wed, 29 Apr 2015 09:57:00 +0000 (09:57 +0000)]
Fix #66651 Missing %{TIME} in RewritCond for Cache-Control header

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88979 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoRemove old ClearCacheProcessing variable and handling
spyker [Wed, 29 Apr 2015 09:51:26 +0000 (09:51 +0000)]
Remove old ClearCacheProcessing variable and handling

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88977 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove the NoIntScripts Rule to a separate class
spyker [Wed, 29 Apr 2015 09:48:02 +0000 (09:48 +0000)]
Move the NoIntScripts Rule to a separate class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88976 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove the UserOrGroup Rule to a separate class
spyker [Wed, 29 Apr 2015 09:06:46 +0000 (09:06 +0000)]
Move the UserOrGroup Rule to a separate class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88974 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoRemove the overhead of the debugger. Code checks should be done via e.g. xDebug and...
spyker [Wed, 29 Apr 2015 09:03:19 +0000 (09:03 +0000)]
Remove the overhead of the debugger. Code checks should be done via e.g. xDebug and not with inline code rubbish

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88973 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoSpeed up the flushByTag function of the StaticFileBackend
spyker [Wed, 29 Apr 2015 08:58:26 +0000 (08:58 +0000)]
Speed up the flushByTag function of the StaticFileBackend

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88972 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove the WorkspacePreview Rule to a separate class
spyker [Wed, 29 Apr 2015 08:56:01 +0000 (08:56 +0000)]
Move the WorkspacePreview Rule to a separate class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88971 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoFix documentation
spyker [Wed, 29 Apr 2015 06:47:39 +0000 (06:47 +0000)]
Fix documentation

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88968 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoAdd one more rule to the caching ruleset
spyker [Tue, 28 Apr 2015 12:07:20 +0000 (12:07 +0000)]
Add one more rule to the caching ruleset

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88962 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove the decision if the page is cachable to a rule based system
spyker [Tue, 28 Apr 2015 11:40:54 +0000 (11:40 +0000)]
Move the decision if the page is cachable to a rule based system

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88961 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove HeaderNoCache to separate class
spyker [Tue, 28 Apr 2015 10:05:44 +0000 (10:05 +0000)]
Move HeaderNoCache to separate class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88959 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove ClearCachePostProc.php to separate class
spyker [Tue, 28 Apr 2015 09:54:34 +0000 (09:54 +0000)]
Move ClearCachePostProc.php to separate class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88958 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoRemove unused variables
spyker [Tue, 28 Apr 2015 09:47:33 +0000 (09:47 +0000)]
Remove unused variables

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88957 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoChange version number to 3.2.0
spyker [Mon, 27 Apr 2015 06:45:07 +0000 (06:45 +0000)]
Change version number to 3.2.0

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88941 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove translation to template file
spyker [Fri, 24 Apr 2015 14:32:39 +0000 (14:32 +0000)]
Move translation to template file

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88938 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoCleanup the clearCachePostProc function
spyker [Fri, 24 Apr 2015 14:27:48 +0000 (14:27 +0000)]
Cleanup the clearCachePostProc function

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88937 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove LogNoCache to separate class
spyker [Fri, 24 Apr 2015 14:20:42 +0000 (14:20 +0000)]
Move LogNoCache to separate class

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88936 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoRemove old functions (more migration to CF)
spyker [Fri, 24 Apr 2015 14:14:17 +0000 (14:14 +0000)]
Remove old functions (more migration to CF)

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88935 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoRemove one noWrap
spyker [Fri, 24 Apr 2015 10:02:09 +0000 (10:02 +0000)]
Remove one noWrap

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88930 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMigrate one manually clear cache to the core mechanism, by tagging the pages with...
spyker [Fri, 24 Apr 2015 10:00:07 +0000 (10:00 +0000)]
Migrate one manually clear cache to the core mechanism, by tagging the pages with the right pageId_X tag

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88929 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMigrate the backend module and all functions to the new Caching Framework mechanism
spyker [Fri, 24 Apr 2015 09:42:55 +0000 (09:42 +0000)]
Migrate the backend module and all functions to the new Caching Framework mechanism

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88928 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoIntegration SFC Backend functions for the cache
spyker [Fri, 24 Apr 2015 09:16:15 +0000 (09:16 +0000)]
Integration SFC Backend functions for the cache

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88927 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoremoved unused function getContentObject
spyker [Fri, 24 Apr 2015 09:09:47 +0000 (09:09 +0000)]
removed unused function getContentObject

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88926 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoMove more HTML to the templates of the Backend module
spyker [Fri, 24 Apr 2015 09:04:29 +0000 (09:04 +0000)]
Move more HTML to the templates of the Backend module

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88925 735d13b6-9817-0410-8766-e36946ffe9aa

3 years agoUpdate PhpDoc comments
spyker [Fri, 24 Apr 2015 08:47:17 +0000 (08:47 +0000)]
Update PhpDoc comments

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/nc_staticfilecache/trunk@88924 735d13b6-9817-0410-8766-e36946ffe9aa