Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-Cart 8.00 Issues
 ATTN TECH SUPPORT - Speed up 8. asp and css code?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

skynet104
VP-CART New User

94 Posts

Posted - October 26 2017 :  16:02:19  Show Profile  Reply with Quote
Our current hosting provider has suggested to minimize the loading and results in our page based on VP-ASP Deluxe 8.1.0.14.

suggestion are:

Enable gzip compression
Serve resources from a consistent URL
Minify JavaScript
Minify CSS
Minimize request size

Any idea in how to achieve this?

Thanks for your help.

Edited by - skynet104 on October 26 2017 16:02:38

Alex123
VP-CART Super User

USA
223 Posts

Posted - October 26 2017 :  16:55:58  Show Profile  Reply with Quote
Here is some tips.

1. Enable gzip compression

You need to contact your hosting support to see whether gzip compression is enabled on the server side. If it is already enabled you can edit web.config file under the website to enable compression for the website. Please refer below url for the example code and more details.

https://docs.microsoft.com/en-us/iis/configuration/system.webserver/httpcompression/

2. Serve resources from a consistent URL

Sometimes it''s necessary to reference the same resource from multiple places in a page - images are a typical example. Even more likely is that you share the same resources across multiple pages in a site such as .css and files. If your pages do need to include the same resource, the resource should always be served from a consistent URL. Ensuring that one resource is always assigned a single URL has a number of benefits. It reduces the overall payload size, as the browser does not need to download additional copies of the same bytes. Also, most browsers will not issue more than one HTTP request for a single URL in one session, whether or not the resource is cacheable, so you also save additional round-trip times. It''s especially important to ensure that the same resource is not served from a different hostname, to avoid the performance penalty of additional DNS lookups.

3. Googel pagespeed tools is a good resource to help you to Minify JavaScript, css and request size etc. You might need help from your web developer to achieve this. Refer

https://developers.google.com/speed/docs/insights/MinifyResources

Alex
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - October 26 2017 :  21:12:26  Show Profile  Reply with Quote
i used a site that can auto minify css https://cssminifier.com/ just simple as you open basic-style.css and main-responsive.css each and copy paste into the big text box to convert as Minified Output and copy back the minified css to each file.
diego
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00