Quick Nav:  Online Store   |   Login | Register

Integration of caching with hidden data

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Store Integrator
<20 Posts
Posts:5


11/26/2007 7:56 AM  

Hi,

I am wondering if your module can be adjusted so that own query strings are allowed, but more over hidden querystrings like storelanguageId and DiscountRoleId. They dynamically load different languages in the product catalog's list and detail. I have seen in ASP.Net you would need to customize the global.ascx. Is this something your module can do? I am using the store from http://www.TennisPlanet.com as a reference.

Best Regards,
Store Integrator

 

John Mitchell
Posts:3268


11/26/2007 9:22 AM  
Hi,I'm not understanding your question. Can you give me more information about what you would like to do?
Store Integrator
<20 Posts
Posts:5


11/26/2007 10:23 AM  
I will try to explain better. The catalog allows to show various prices based on a discount role that a user has. Seconly, the product language for the description and product name are derived based on the different store languages present in the database. However, this data is not present in the querystring. However, it should be used in the cache other wise the next would happen:
1) User with discountrole X and language Y logs in and sees prices with discount X in language Y (like NL instead of nl-NL). The url is put into the cache.
2) A second user with discount role A and language B logs in and sees prices with discount X in language Y since that url was in the cache.
3) An anonymous user has by default discountrole Z and will see prices with discount role X.

So the caching should be adapted to allow a discountrole and a languageid (like NL for nl-NL and nl-BE). Is it possible to add them to your module?
John Mitchell
Posts:3268


11/26/2007 10:30 AM  
Ok, I understand better now.
By default, logged in users are not cached. This is because each page would have to be cached for every user to make sure that the different users did not get the same content. If every user gets their own page, then the cache does not help performance.
However, there is an option in the module to also cache by User or by Role if you wish to. If you decide to turn that on, then there is also an option to extend the cache parameters using keys from Cookies, Form variables, etc.

So in short, yes there is already an option to use additional parameters for the cache key.
Store Integrator
<20 Posts
Posts:5


11/26/2007 10:58 AM  
I understand that for not logged in users it will work. However, could you also cache module's like a store menu navigator and/or the product catalog pages based on the discount roles and storelanguages? Or with outputcache of ASP.NET?

By the way can you install your module on my server if I give you login credentials. Feel free to quote?
Store Integrator
<20 Posts
Posts:5


11/26/2007 10:59 AM  

Temporary url: http://www.tennisplanet2007.com Select Germany or Netherlands which are online.

John Mitchell
Posts:3268


11/26/2007 11:48 AM  
Yes, those pages could be cached, but if you enable caching for logged in users it may not gain much in performance and it may actually hurt performance a little since a cached page could be generated and saved, but not reused. Just enabling cache for users that are not authenticated should give you a significant performance gain since most users will just be casually browsing and not logged in.

Yes, I can install the module if you purchase the PageBlaster DNN Module version.

Store Integrator
<20 Posts
Posts:5


11/26/2007 12:55 PM  
Ok. Only one last thing: do you already have some function implemented by which I can immediately drop the cache or part of the cache. Take for instance that a product is not in stock anymore. How can I remove by software this cache?
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Integration of caching with hidden data



ActiveForums 3.7
Powered by: Snapsis Software