Fork me on GitHub

cacheid and uid  Bottom

  • if the content displayed from one user to another is different, do we have to add the uid of the user to the cacheId or is it automatically done ?
  • mumuri:
    Default cache id is based on URL, module name and template name.
    So if uid is not provided as param in URL - you'll have to add uid to cache_id



    --
    Polish Zikula Team
    Bianor Works - my Zikula works on CoZi
  • ok, so there is potentially a bug in "search_user_search", the uid is not in the cacheId

    but some module like pnforum, are checking perms to display results
  • I think, that Search module should not be cached at all...
    And there is IMHO bug - with cache turned on (both - pnRender and Theme) - Search module does not work - it cached first result and serve it for all other queries icon_rolleyes

    --
    Polish Zikula Team
    Bianor Works - my Zikula works on CoZi
  • Ups... no - had SVN few hours older then search module fix

    --
    Polish Zikula Team
    Bianor Works - my Zikula works on CoZi
  • Quote

    I think, that Search module should not be cached at all...


    i m not totally agree with that, the search part in website is what comsume the most resssources (specially if it use fulltext), i even see some big developper sites which disabled their search module during lunch time because of the load created. so i think it's a good idea to cache it

    you will not have the result of entries created after the cache but is-it really a loss ...

    EDIT : note that perhaps the recent queries should NOT be cached .. because it's "recent" :)



    edited by: mumuri, Jun 03, 2008 - 09:20 AM

This list is based on users active over the last 60 minutes.