suntrop Posted September 9, 2017 Share Posted September 9, 2017 Hi. I have some questions about ProCache. Is it possible to exclude certain pages (by URL, template, page?) from being cached? … or in reverse – just make pages within a section of my website being cached? Is there something I need to change in my templates or is it more like a "click-and-go" plugin? (basic caching, no assets manipulation) What about pages with dynamic generated content (like flash messages, integrated RSS feeds, number of items in cart, etc.) I have two sites in mind, and one is a shop. So I am wondering if ProCache is suitable for it. If a user puts something into his cart, the cached page can't be the same static HTML page for the other users. Link to comment Share on other sites More sharing options...
abdus Posted September 9, 2017 Share Posted September 9, 2017 All of your requirements can be met with native template caching and maybe some hooks. Have you tried using it? You might not even need to purchase ProCache. Link to comment Share on other sites More sharing options...
suntrop Posted September 9, 2017 Author Share Posted September 9, 2017 Well, ok ... Thanks. But I was asking specifically for Procache Link to comment Share on other sites More sharing options...
AndZyk Posted September 9, 2017 Share Posted September 9, 2017 Hello @suntrop, Yes, you can check or uncheck which templates should be cached. I don't quite understand, what you mean by that. But as long as it is a page, it can be cached. No, you don't need to change anything inside your templates. Pages with user input shouldn't be cached. Here is a quote by @ryan about this question: Quote I would avoid caching any pages that need to process any kind of user input, like a search page or anything with a form on it. Though I suppose you could cache the initial presentation of the page (what appears before user enters input), so long as the form processing didn't require any session tokens like CSRF tokens. In my opinion ProCache is a awesome module and well worth the money. It helped me optimize many websites in just a few clicks. I can fully recommend it. Regards, Andreas 1 Link to comment Share on other sites More sharing options...
abdus Posted September 9, 2017 Share Posted September 9, 2017 Before you buy you can see all options for the module on the skyscrapers demo website. http://demo.processwire.com/admin/ 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now