Search the Community
Showing results for tags 'Cache'.
-
Hi all, I'm trying to improve performance on one of the ProcessWire sites my agency manages, and having some problems with it. The template that the page below has a cache setting of 86400, with the default sub-settings (clear only the changed page, etc.) However, when I look at the Request headers I see that Cache-Control is set to max-age=0, and in the Response headers Cache-Control is set to no-store, no-cache, must-revalidate, post-check=0, pre-check=0, Expires is set to Thu, 19 Nov 1981 08:52:00 GMT and Pragma is set to no-cache. Am I missing something about how template caching works? Thanks. http://schools.saltmoney.org/content-pages/responsible-borrower-program-a-proactive-approach-to-student-debt-and-delinquency/
-
Hello, I was having some trouble installing modules (they weren't showing up in the module manager) and so I deleted the contents of the folder site > assets > cache in the hope of fixing this problem. However, having done this any page I try to navigate to on the site (including the root /index.php) throws up a 500 Internal Sever Error. Does anyone have any idea about what might have gone wrong here? It's slightly worrying... Many thanks in advance for any help. b
-
Hi there, If I do some conditional output, for example if($config->ajax) { echo 'something'; } else { echo 'somtething else'; } And then switch on cache for this particular page. I guess the first hit will determine what gets stored in the cache? The second hit will get the same results regardless. So that means I cant really have conditional output and caching at the same time, right? If I use ProCache, it's cached by URL instead, right? So then there can be multiple versions of the same page, depending on the URL? For example if I use #!, then the ?_escaped_fragment= version of the page would be cached separately, I suppose? Just trying to see If I understand how it works correctly thanks, J *edit: procache question
-
Hello everyone, I have a question to Ryan and the PW experts here: in the upcoming PHP release 5.5.0 we are going to see Zend OPCache, a caching mechanism similar to APC. How does it compare to Cache Pro? Will Cache Pro still be needed if OPCache is used? Just a side note: I am buying CP as soon as my web project goes into production simply because I love PW and want to contribute. But will it decrease the page loading time any more than it will be possible with OPCache? Thank you.
-
I have activated the Cache module and then configured the cache in Setup -> Templates -> Cache, where I have set the expiration to 3600 seconds for all my templates. When I run ApacheBench to stress the server, I am seeing exceptionally high load. My throughput is only ~10 requests/s despite the page being cached, and I can see high MySQL traffic, even though cache is supposedly activated. Is this expected behaviour? Are there any high-performance cache options available? (That preferrably don't query the DB at all when a cached page is requested.)