WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Quick Cache ( A WP Super Cache Alternative )] Incompatibility with Zend Optimizer (2 posts)

  1. Gobiel
    Member
    Posted 4 years ago #

    First, Quick Cache is a fantastic plugin at all (but you should delete the "(A WP Super Cache Alternative)").

    Then, I tried to have more powerful caching with enabling the Zend Optimizer capacity (I am on a mutualised sever on OVH: http://guides.ovh.com/ConfigPhp) but Quick Cache says to me that the PHP5 must be activated.

    But, if the bug isn't "remediable" (sorry, my English is very poor :s (...French guy :D)), don't worry because the IonCube option is good too :)

    I leave you my ancient .htaccess (with Zend Optimizer) if it can help you ;) :

    # Tricks OVH : (English: same)
    SetEnv PHP_VER 5
    SetEnv ZEND_OPTIMIZER 1
    SetEnv IONCUBE 0
    SetEnv REGISTER_GLOBALS 0
    SetEnv MAGIC_QUOTES 0
    
    # Compression générale : (English: General compression)
    <IfModule mod_deflate.c>
     AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain
     AddOutputFilterByType DEFLATE image/svg+xml application/xhtml+xml application/xml
     AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml
     AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript
     AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-otf
     AddOutputFilterByType DEFLATE font/truetype font/opentype
    </IfModule>
    
    # Virer les ETags : (English: Delete ETags)
    FileETag none
    
    # Cache du navigateur : (English: Browser cache)
    # 480 SEMAINES
    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    Header set Cache-Control "max-age=290304000, public"
    </FilesMatch>
    
    # 2 JOURS
    <FilesMatch "\.(xml|txt)$">
    Header set Cache-Control "max-age=172800, public, must-revalidate"
    </FilesMatch>
    
    # 2 HEURES
    <FilesMatch "\.(html|htm)$">
    Header set Cache-Control "max-age=7200, must-revalidate"
    </FilesMatch>

    And the actual (fully functionnal) is (just this changement):

    # Tricks OVH : (English: Same...)
    SetEnv PHP_VER 5
    SetEnv IONCUBE 1
    SetEnv ZEND_OPTIMIZER 0
    SetEnv REGISTER_GLOBALS 0
    SetEnv MAGIC_QUOTES 0

    Thanks in advance :D
    There is my website if it helps too (in french): http://gobiel.info/

    http://wordpress.org/extend/plugins/quick-cache/

  2. Gobiel
    Member
    Posted 4 years ago #

    Resolved with the WP update ;)
    I just wait for the PHP6 support now :D

Topic Closed

This topic has been closed to new replies.

About this Topic