Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Varnish Cache For Cs-Cart Rate Topic   * * * * * 1 votes

 
  • whiplash13
  • PM Extraordinaire
  • Members
  • Join Date: 01-Feb 08
  • 704 posts

Posted 22 June 2011 - 01:55 PM #1

Has anyone tried Varnish Cache with CS-Cart?
John
CS Cart 4.2.4

 
  • luster
  • Junior Member
  • Members
  • Join Date: 09-Oct 10
  • 34 posts

Posted 17 July 2011 - 10:16 PM #2

i am currently tweaking it as we speak :)

 
  • miracles
  • Senior Member
  • Members
  • Join Date: 19-Sep 07
  • 1533 posts

Posted 18 July 2011 - 06:49 AM #3

How to install ?
CS-CART 3.0.6 GRENADE

Please vote for CDN Add-on

For SEO Article Submission, Forum Profile Links, Web 2.0 links, contact me through PM.

 
  • whiplash13
  • PM Extraordinaire
  • Members
  • Join Date: 01-Feb 08
  • 704 posts

Posted 18 July 2011 - 12:34 PM #4

i am currently tweaking it as we speak :)


Please post your results once you have everything tweaked to your likings.
John
CS Cart 4.2.4

 
  • solesurvivor
  • Senior Member
  • Members
  • Join Date: 05-Aug 11
  • 745 posts

Posted 28 August 2011 - 02:25 AM #5

Please post your results once you have everything tweaked to your likings.



anyword on this working out for anyone?

 
  • winsharma
  • Newbie
  • Trial users
  • Join Date: 17-Feb 14
  • 1 posts

Posted 17 February 2014 - 10:28 AM #6

Hi,
We are using CS-Cart Multi-vendor Edition Version 4.x. Any idea on how I can implement Varnish Cache for this? I would also like to know how I can cache authenticated pages also.

Thanks,
Vin!

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17613 posts

Posted 09 April 2014 - 01:45 PM #7

Hi all,

We have some experience with the integration Varnish cache with CS-Cart. If you are interested, please contact us at http://ecom-labs.com. See you!

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • P-Pharma
  • Junior Member
  • Members
  • Join Date: 30-Jun 10
  • 1119 posts

Posted 09 April 2014 - 06:09 PM #8

Does that mean that you have an addon for sale?

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17613 posts

Posted 10 April 2014 - 06:56 AM #9

Does that mean that you have an addon for sale?


No, the module is our to-do list, but at the moment we cannot provide you even with the approximate release date. We used varnish cache for several projects with the following logic: the system returns cached pages until the customer is logged in or any product is added to cart. Thanks.

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • P-Pharma
  • Junior Member
  • Members
  • Join Date: 30-Jun 10
  • 1119 posts

Posted 10 April 2014 - 11:26 PM #10

Yes, Varnish and LiteSpeed cache are great. Saves a great amount of server resources and adds security as well.
I will await your release. Thank you for your effort and keeping us up to date.

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17613 posts

Posted 14 April 2014 - 11:03 AM #11

Yes, Varnish and LiteSpeed cache are great. Saves a great amount of server resources and adds security as well.
I will await your release. Thank you for your effort and keeping us up to date.


Thanks. If we have any news, I will contact you.

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • ibizo
  • Member
  • Authorized Reseller
  • Join Date: 10-Jul 12
  • 30 posts

Posted 28 December 2015 - 05:02 PM #12

+1 for Varnish Configuration Addon!



 
  • imac
  • CTO
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2034 posts

Posted 29 December 2015 - 11:38 AM #13

Guys we are working on "Full page cache" add-on which will be based on Varnish + ESI.
Hope to include beta version in 4.3.6
Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • ThomH
  • Senior Member
  • Members
  • Join Date: 20-Nov 07
  • 1449 posts

Posted 30 December 2015 - 09:26 AM #14

If Varnish is installed server side, can handle fine the cs-cart (and not only!) without any third party modifications.

There are a lot of techniques, but we experienced the best results with Nginx+Varnish.


WebGraphiq offers a wide range of professionally developed, ready to use CS-Cart add-ons to provide additional functionality and boost your sales. The oldest active CS-Cart add-on development team. -- Since 2006 --


CS-CART ADD-ONS | FREE QUOTE | CS-CART DEVELOPMENT | @webgraphiq


 
  • P-Pharma
  • Junior Member
  • Members
  • Join Date: 30-Jun 10
  • 1119 posts

Posted 30 December 2015 - 05:49 PM #15

Guys we are working on "Full page cache" add-on which will be based on Varnish + ESI.
Hope to include beta version in 4.3.6

imac, This is great news. Thank you!!!

For LiteSpeed as well?



 
  • mazter
  • Senior Member
  • Members
  • Join Date: 04-Apr 12
  • 256 posts

Posted 30 December 2015 - 07:36 PM #16

I have been using Varnish to cache HTML pages for CS-Cart. There are lot of hurdles that are created by CS-Cart for no reason:

 

-Biggest hurdle is CSS/JS file name changes. CS-Cart keeps creating random CSS file names and delete old CSS/JS files when cache is cleaned. It makes it a huge problem for cached pages because they look like CRAP without CSS files. How difficult would it be to save all CSS files into style.css file and keep refreshing contents of it with cache cleaning?

-CS-Cart adds time tags at the end of some URLs - t= or ver=. @imac probably would be the best person to explain the reasoning behind it but it makes no sense whatsoever for ecommerce websites. You can use http  headers to communicate any expiration you need but you don't mess with URLs which is extremely important for search engines. They want to see the same file everytime they access to your site. CS-Cart loves to mess with these files which cause lots of problems with search engines.



 
  • imac
  • CTO
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2034 posts

Posted 04 January 2016 - 07:25 AM #17

imac, This is great news. Thank you!!!
For LiteSpeed as well?


No plans for Litespeed yet.
Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • imac
  • CTO
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2034 posts

Posted 04 January 2016 - 07:35 AM #18



-Biggest hurdle is CSS/JS file name changes. CS-Cart keeps creating random CSS file names and delete old CSS/JS files when cache is cleaned. It makes it a huge problem for cached pages because they look like CRAP without CSS files. How difficult would it be to save all CSS files into style.css file and keep refreshing contents of it with cache cleaning?

It's a bit strange for me that your cache in Varnish lives longer than CS-Cart cache. Actually cache should be invalidated each time we changes something in admin area - that's what we are working on right now.
How do you invalidate cache after you change something in admin area?

-CS-Cart adds time tags at the end of some URLs - t= or ver=. @imac probably would be the best person to explain the reasoning behind it but it makes no sense whatsoever for ecommerce websites. You can use http  headers to communicate any expiration you need but you don't mess with URLs which is extremely important for search engines. They want to see the same file everytime they access to your site. CS-Cart loves to mess with these files which cause lots of problems with search engines.

The "t" parameter is removed in 4.3.5. http://forum.cs-cart...3091#entry23091As for "ver" its important in order to reload the file in cache after we update the file. We use client-side cache for CSS & JS files.
Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • P-Pharma
  • Junior Member
  • Members
  • Join Date: 30-Jun 10
  • 1119 posts

Posted 04 January 2016 - 12:10 PM #19

No plans for Litespeed yet.

LiteSpeed has Varnish implementation for other software, so could be that  its fairly easy to implement.

Please contact Michael at litespeed to see if integration can be accomplished. Litespeed tech is generally interested in accommodating to such integration. So it may well be worth contacting them.



 
  • mazter
  • Senior Member
  • Members
  • Join Date: 04-Apr 12
  • 256 posts

Posted 07 January 2016 - 06:40 AM #20

It's a bit strange for me that your cache in Varnish lives longer than CS-Cart cache. Actually cache should be invalidated each time we changes something in admin area - that's what we are working on right now.
How do you invalidate cache after you change something in admin area?

The "t" parameter is removed in 4.3.5. http://forum.cs-cart...3091#entry23091As for "ver" its important in order to reload the file in cache after we update the file. We use client-side cache for CSS & JS files.

 

Hi imac, you are right, Varnish cache doesn't live longer than CS-Cart cache but then why not give us the ability to cache longer in Varnish cache? Ideally, I would want all my ".html" to be cached until the customer logins to their account. For this to work, you ned to stop creating all these mumbo jumbo file names for .js and .css file names. if you check any CS-Cart website on Google Cache, you will see everything distorted due to these fdi1jelfkj1elfkj1l3kfej31.css 1kjhcalsjdhcaskjhas.js file names that gets created every time cache refreshed.

 

What is the idea behind assigning random file names for css and .js files? This created lots of trouble for us when we integrated with third part websites for A/B testing or other services. Why can't we just have one styles.css and scripts.js under /var/cache/ folder?

 

Thanks for removing "t" parameter.