Sponsored Content
Full Discussion: Optimizing JS and CSS
Top Forums Web Development Optimizing JS and CSS Post 303030912 by Akshay Hegde on Tuesday 19th of February 2019 06:09:11 AM
Old 02-19-2019
Quote:
Originally Posted by Neo
Welcome Back Akshay!

Are you going to hang around for a while?
Quote:
Originally Posted by Neo
Hey Akshay,

To follow up:

If you are OK and have time, I'll ask you to help me optimize after I have the new Vue.js-based UserCP up and running (out of the mockup and into the real-world usage). I have at least 80 hours of full-stack development work, I estimate, to get the this new CP to where I want it to be. If I work on this 4 hours a day, that is 20 days of work; so obviously I have a lot to do, and that's just a very rough estimate without taking pencil to paper.

As mentioned, I need to stay focused on the new CP build at this time and am not too worried about shaving milliseconds here and there off the site loading before caching. That is something good to do together, later this year. OK?
Sure, will use google closure compiler for minifying scripts, for css we have rewrite uri (Rewrite file-relative URIs as root-relative) first then can combine. I am not sure, VB has inbuilt tool already. We can think of serviceworkers after minifying resources (off course possible without minifying resources, but simply more http requests to server ).

For caching resources you can refer html5-boilerplate
https://raw.githubusercontent.com/h5...dist/.htaccess
This User Gave Thanks to Akshay Hegde For This Post:
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed remove css comments

Is there a way that I can use sed to remove lines with css comments like this? /* comment */ (9 Replies)
Discussion started by: gravesit
9 Replies

2. Web Development

On Css

<html> <head> <style> div.box {width: 300px; height: 200px; padding: 30px; font: 46 pt times new roman;} </style> </head> <body> <div class="box" style=" filter": progid:DXImagetransform.Microsoft.Alpha (Opacity=100, FinishOpacity=0, Style=1, StartX=0, FinishX=0,... (0 Replies)
Discussion started by: N-Training
0 Replies

3. Web Development

HTML down, CSS help, ahhhh

I am having some problems. I have been able to learn HTML, but when I try and encode CSS, nothing happens, what is the major issue here. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>MY CSS</title> <style... (7 Replies)
Discussion started by: N-Training
7 Replies

4. Web Development

CSS frameworks

I have been reading up on CSS frameworks, to see if it could be useful for an intranet that I am helping to build, but the true purpose does not become clear to me. What circumstances would the deployment of a CSS framework be useful in? What does a CSS framework do that a CMS template cannot do? (1 Reply)
Discussion started by: figaro
1 Replies
CSS::DOM::Value(3pm)					User Contributed Perl Documentation				      CSS::DOM::Value(3pm)

NAME
CSS::DOM::Value - CSSValue class for CSS::DOM VERSION
Version 0.14 SYNOPSIS
# ... DESCRIPTION
This module implements objects that represent CSS property values. It implements the DOM CSSValue interface. This class is used only for custom values (neither primitive values nor lists) and the special 'inherit' value. METHODS
Object Methods cssText Returns a string representation of the attribute. Pass an argument to set it. cssValueType Returns one of the constants below. Constructor You probably don't need to call this, but here it is anyway: $val = new CSS::DOM::Value %arguments; The hash-style %arguments are as follows: type "CSS_INHERIT" or "CSS_CUSTOM" css A string of CSS code. This is only used when "TYPE" is "CSS_CUSTOM". owner The style object that owns this value; if this is omitted, then the value is read-only. The value object holds a weak reference to the owner. property The name of the CSS property to which this value belongs. "cssText" uses this to determine how to parse text passed to it. CONSTANTS
The following constants can be imported with "use CSS::DOM::Value ':all'". They represent the type of CSS value. CSS_INHERIT(0) CSS_PRIMITIVE_VALUE(1) CSS_VALUE_LIST(2) CSS_CUSTOM(3) SEE ALSO
CSS::DOM CSS::DOM::Value::Primitive CSS::DOM::Value::List CSS::DOM::Style perl v5.10.1 2010-12-10 CSS::DOM::Value(3pm)
All times are GMT -4. The time now is 01:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy