Forums / Setup & design / staticcache and view parameter

staticcache and view parameter

Author Message

Guillaume Kulakowski

Monday 09 June 2008 4:38:48 am

Hello,

I try to configure my "planet" (http://planet.fedora-fr.org) in static cache.
The main page is static but all the other page <i>http://planet.fedora-fr.org/(offset)/*</i> are not in static cache.

The static cache is it compatible with view parameter ?

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Guillaume Kulakowski

Tuesday 10 June 2008 1:03:22 am

Hmm, it appears that is a limitation of static cache ...

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

André R.

Friday 13 June 2008 2:58:54 pm

Sorry for delayed response.
Static cache is a pre generated static cache, so it has no way of knowing about used view parameters.
If you want to have static cache for those, then you should look into using a reverse proxy instead (ie: Varnish or Squid).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Guillaume Kulakowski

Friday 13 June 2008 10:38:10 pm

Thanks André.

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Bin LIU

Friday 30 January 2009 1:42:21 am

delayed response.

I made a extension http://projects.ez.no/lastaticcache

1. it can be used for the page with view_parameter
2. to avoid generet the bad page with error.
3. don't add "/content/view/x" in table ezpending_action
4. filter don't add custom page in ezpending_action

I hope it's useful for you

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info