-
AuthorPosts
-
mx5gr Friend
mx5gr
- Join date:
- September 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
December 20, 2010 at 7:26 pm #157697We use a CDN that caches URLs. As a result, if an Iphone user has visited a webpage and this webpage is then viewed by a desktop user, the latter will receive a garbled page.
How can we modify T3 v2 framework so that if any other profile than desktop is used, this is passed-on as a variable in the url in the form of ?ui=iphone ?
Any suggestions?
Don Lee FriendDon Lee
- Join date:
- March 2010
- Posts:
- 923
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 41
- Thanked:
- 274 times in 238 posts
December 21, 2010 at 3:54 am #367870I dont have any idea about digging up the framework to solve this small issue. I really dont know why you need to cache your URLs? In the case if there is something causing error on your site at a moment because of some reasons, the error message would be cached as a content data then the later visitor would see it too? As my opinion, this solution is not feasible.
mx5gr Friendmx5gr
- Join date:
- September 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
December 21, 2010 at 9:01 am #367907You are correct in your observation but it is not a small problem. If someone access http://www.mycompany.com (for example) using an Iphone, then the next user that accesses the same page from a desktop gets served the Iphone version of the page, not the desktop one, thus distorting the appearance of the site.
Thus, we are looking into a way of distinguishing the layouts due to CDN URL caching..
Don Lee FriendDon Lee
- Join date:
- March 2010
- Posts:
- 923
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 41
- Thanked:
- 274 times in 238 posts
December 21, 2010 at 9:15 am #367909<em>@mx5gr 209981 wrote:</em><blockquote>You are correct in your observation but it is not a small problem. If someone access http://www.mycompany.com (for example) using an Iphone, then the next user that accesses the same page from a desktop gets served the Iphone version of the page, not the desktop one, thus distorting the appearance of the site.
Thus, we are looking into a way of distinguishing the layouts due to CDN URL caching..</blockquote>
Absolutely I understand what you mean. But with T3, it detects browser information to decide which layout would be displayed, means if it knows your browser is from a handheld device, it will display handheld layout, not direct you to a handheld URL.
In your case, I would not use URLs cache, because it is so inflexible as I said in the ealier post. If you want a cache solution to reduce your site loading speed, I think the Optimization mode in T3 is enough, and use also use Joomla system cache as well. Sorry in this case, but we can not provide you any code modification in the framework. -
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Don Lee 13 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum