1. A method for avoiding storage of redundant webpage content in a browser cache, comprising:
comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in the browser cache;
using a second resource stored in the browser cache to generate the webpage when the first signature matches one of the group of signatures but not storing the first resource in the browser cache; and
storing the first resource in the browser cache linked to the first signature and adding the first signature to the group of signatures when the first signature does not match any signature within the group of signatures.
2. The method of claim 1, further comprising:
evicting a third resource stored in the browser cache when the first signature does not match any signature within the group of signatures based on a cache eviction policy; and
removing a third signature corresponding to the third resource from the group of signatures in response to evicting the third resource.
3. The method of claim 1, wherein the first resource is associated with a universal resource identifier.
4. The method of claim 1, wherein comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in the browser cache comprises:
downloading the first resource based on instructions for rendering the webpage;
generating the first signature based on contents of the first resource; and
comparing the generated first signature to the group of signatures related to resources currently stored within the browser cache.
5. The method of claim 1, wherein the first resource is a file of a cacheable content type.
6. The method of claim 5, wherein the first resource is at least one of a style sheet, a framework, an application programming interface, a library file, a video, an image, a photo, a text file, a Flash file, a Shockwave file, an applet, software instructions, a script, and a theme.
7. The method of claim 1, wherein comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in the browser cache comprises:
obtaining the first signature for the first resource when initially downloading the webpage;
comparing the obtained first signature to the group of signatures related to resources stored in the browser cache;
using the second resource stored in the browser cache to generate the webpage when the obtained first signature matches one of the group of signatures related to resources stored in the browser cache;
downloading the first resource; and
using the downloaded first resource to generate the webpage when the obtained first signature does not match any of the group of signatures related to resources stored in the browser cache.
8. The method of claim 7, wherein the obtained first signature is obtained from one of a third-party service, a proxy server, and a web server hosting the webpage.
9. The method of claim 7, wherein the obtained first signature is generated by one of a third-party service, a proxy server, and a web server hosting the webpage.
10. A mobile device, comprising:
means for comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in a browser cache;
means for using a second resource stored in the browser cache to generate the webpage when the first signature matches one of the group of signatures but not storing the first resource in the browser cache; and
means for storing the first resource in the browser cache linked to the first signature and adding the first signature to the group of signatures when the first signature does not match any signature within the group of signatures.
11. The mobile device of claim 10, further comprising:
means for evicting a third resource stored in the browser cache when the first signature does not match any signature within the group of signatures based on a cache eviction policy; and
means for removing a third signature corresponding to the third resource from the group of signatures in response to evicting the third resource.
12. The mobile device of claim 10, wherein the first resource is associated with a universal resource identifier.
13. The mobile device of claim 10, wherein means for comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in the browser cache comprises:
means for downloading the first resource based on instructions for rendering the webpage;
means for generating the first signature based on contents of the first resource; and
means for comparing the generated first signature to the group of signatures related to resources currently stored within the browser cache.
14. The mobile device of claim 10, wherein the first resource is a file of a cacheable content type.
15. The mobile device of claim 14, wherein the first resource is at least one of a style sheet, a framework, an application programming interface, a library file, a video, an image, a photo, a text file, a Flash file, a Shockwave file, an applet, software instructions, a script, and a theme.
16. The mobile device of claim 10, wherein means for comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in the browser cache comprises:
means for obtaining the first signature for the first resource when initially downloading the webpage;
means for comparing the obtained first signature to the group of signatures related to resources stored in the browser cache;
means for using the second resource stored in the browser cache to generate the webpage when the obtained first signature matches one of the group of signatures related to resources stored in the browser cache;
means for downloading the first resource; and
means for using the downloaded first resource to generate the webpage when the obtained first signature does not match any of the group of signatures related to resources stored in the browser cache.
17. The mobile device of claim 16, wherein the obtained first signature is obtained from one of a third-party service, a proxy server, and a web server hosting the webpage.
18. The mobile device of claim 16, wherein the obtained first signature is generated by one of a third-party service, a proxy server, and a web server hosting the webpage.
19. A mobile device, comprising:
a memory;
a transceiver configured to communicate with a network; and
a processor coupled to the memory and the transceiver, wherein the processor is configured with processor-executable instructions to perform operations comprising:
comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in a browser cache;
using a second resource stored in the browser cache to generate the webpage when the first signature matches one of the group of signatures but not storing the first resource in the browser cache; and
storing the first resource in the browser cache linked to the first signature and adding the first signature to the group of signatures when the first signature does not match any signature within the group of signatures.
20. The mobile device of claim 19, wherein the processor is configured with processor-executable instructions to perform operations further comprising:
evicting a third resource stored in the browser cache when the first signature does not match any signature within the group of signatures based on a cache eviction policy; and
removing a third signature corresponding to the third resource from the group of signatures in response to evicting the third resource.
21. The mobile device of claim 19, wherein the processor is configured with processor-executable instructions to perform operations such that the first resource is associated with a universal resource identifier.
22. The mobile device of claim 19, wherein the processor is configured with processor-executable instructions to perform operations such that comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in the browser cache comprises:
downloading the first resource based on instructions for rendering the webpage;
generating the first signature based on contents of the first resource; and
comparing the generated first signature to the group of signatures related to resources currently stored within the browser cache.
23. The mobile device of claim 19, wherein the processor is configured with processor-executable instructions to perform operations such that the first resource is a file of a cacheable content type.
24. The mobile device of claim 23, wherein the processor is configured with processor-executable instructions to perform operations such that the first resource is at least one of a style sheet, a framework, an application programming interface, a library file, a video, an image, a photo, a text file, a Flash file, a Shockwave file, an applet, software instructions, a script, and a theme.
25. The mobile device of claim 19, wherein the processor is configured with processor-executable instructions to perform operations such that comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in the browser cache comprises:
obtaining the first signature for the first resource when initially downloading the webpage;
comparing the obtained first signature to the group of signatures related to resources stored in the browser cache;
using the second resource stored in the browser cache to generate the webpage when the obtained first signature matches one of the group of signatures related to resources stored in the browser cache;
downloading the first resource; and
using the downloaded first resource to generate the webpage when the obtained first signature does not match any of the group of signatures related to resources stored in the browser cache.
26. The mobile device of claim 25, wherein the processor is configured with processor-executable instructions to perform operations such that the obtained first signature is obtained from one of a third-party service, a proxy server, and a web server hosting the webpage.
27. The mobile device of claim 25, wherein the processor is configured with processor-executable instructions to perform operations such that the obtained first signature is generated by one of a third-party service, a proxy server, and a web server hosting the webpage.
28. A non-transitory processor-readable storage medium having stored thereon processor-executable instructions configured to cause a processor to perform operations comprising:
comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in a browser cache;
using a second resource stored in the browser cache to generate the webpage when the first signature matches one of the group of signatures but not storing the first resource in the browser cache; and
storing the first resource in the browser cache linked to the first signature and adding the first signature to the group of signatures when the first signature does not match any signature within the group of signatures.
29. The non-transitory processor-readable storage medium of claim 28, wherein the stored processor-executable instructions are configured to cause the processor to perform operations further comprising:
evicting a third resource stored in the browser cache when the first signature does not match any signature within the group of signatures based on a cache eviction policy; and
removing a third signature corresponding to the third resource from the group of signatures in response to evicting the third resource.
30. The non-transitory processor-readable storage medium of claim 28, wherein the stored processor-executable instructions are configured to cause the processor to perform operations such that the first resource is associated with a universal resource identifier.
31. The non-transitory processor-readable storage medium of claim 28, wherein the stored processor-executable instructions are configured to cause the processor to perform operations such that comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in the browser cache comprises:
downloading the first resource based on instructions for rendering the webpage;
generating the first signature based on contents of the first resource; and
comparing the generated first signature to the group of signatures related to resources currently stored within the browser cache.
32. The non-transitory processor-readable storage medium of claim 28, wherein the stored processor-executable instructions are configured to cause the processor to perform operations such that the first resource is a file of a cacheable content type.
33. The non-transitory processor-readable storage medium of claim 32, wherein the stored processor-executable instructions are configured to cause the processor to perform operations such that the first resource is at least one of a style sheet, a framework, an application programming interface, a library file, a video, an image, a photo, a Flash file, a Shockwave file, an applet, software instructions, a script, and a theme.
34. The non-transitory processor-readable storage medium of claim 28, wherein the stored processor-executable instructions are configured to cause the processor to perform operations such that comparing a first signature based on contents of a first resource referenced by a webpage to a group of signatures related to resources stored in the browser cache comprises:
obtaining the first signature for the first resource when initially downloading the webpage;
comparing the obtained first signature to the group of signatures related to resources stored in the browser cache;
using the second resource stored in the browser cache to generate the webpage when the obtained first signature matches one of the group of signatures related to resources stored in the browser cache;
downloading the first resource; and
using the downloaded first resource to generate the webpage when the obtained first signature does not match any of the group of signatures related to resources stored in the browser cache.
35. The non-transitory processor-readable storage medium of claim 34, wherein the stored processor-executable instructions are configured to cause the processor to perform operations such that the obtained first signature is obtained from one of a third-party service, a proxy server, and a web server hosting the webpage.
36. The non-transitory processor-readable storage medium of claim 34, wherein the stored processor-executable instructions are configured to cause the processor to perform operations such that the obtained first signature is generated by one of a third-party service, a proxy server, and a web server hosting the webpage.
37. A system, comprising:
a server; and
a mobile device,
wherein the server is configured with server-executable instructions to perform operations comprising:
generating a first signature based on contents of a first resource associated with a webpage;
receiving a request corresponding to the webpage from the mobile device; and
transmitting instructions for rendering the webpage to the mobile device in response to receiving the request, wherein the instructions include the first signature, and
wherein the mobile device comprises:
a memory;
a transceiver configured to communicate with a network coupled to the server; and
a processor coupled to the memory and the transceiver, and configured with processor-executable instructions to perform operations comprising:
transmitting the request corresponding to the webpage to the server;
receiving instructions for rendering the webpage from the server;
obtaining the first signature from the received instructions;
comparing the first signature to a group of signatures related to resources stored in a browser cache of the mobile device;
using a second resource stored in the browser cache to generate the webpage when the first signature matches one of the group of signatures but not storing the first resource in the browser cache; and
storing the first resource in the browser cache linked to the first signature and adding the first signature to the group of signatures when the first signature does not match any signature within the group of signatures.
38. The system of claim 37, wherein the server is one of a third-party service server, a proxy server, and a web server hosting the webpage.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. An input control circuit that controls inrush current, comprising:
a series switch electrically coupled in series on an input line and operable in response to control signals to adjust a flow of an input current along the input line;
a sense capacitor directly connected to an input filter capacitor on the input line to develop a signal that is proportional to the input current;
a current sense mirror electrically coupled to the sense capacitor to receive the signal that is proportional to the input current that is charging the input filter capacitor; and
a clamp circuit responsive at least to the current sense mirror to provide the control signals to the series switch to cause the series switch to adjust the flow of the input current along the input line.
2. The input control circuit of claim 1 wherein the current sense mirror includes a first mirror transistor coupled to a ground reference through a first mirror resistor and a second mirror transistor coupled to the ground reference through a second mirror resistor, a base of the first mirror transistor and a base of the second mirror transistor commonly coupled to the sense capacitor to maintain a constant inrush charge current to the input filter capacitor.
3. The input control circuit of claim 2, further comprising:
a pair of trickle bias resistors electrically coupled between the input line and a source of the first mirror transistor of the current sense mirror.
4. The input control circuit of claim 1, further comprising:
an over voltage lockout monitor circuit operable to detect an over voltage condition on the input line and coupled to supply a signal indicative of the over voltage condition to the clamp circuit, wherein the clamp circuit is further responsive at least to the over voltage lockout monitor circuit to provide control signals to the series switch to cause the series switch to stop the flow of the input current along the input line.
5. The input control circuit of claim 4 wherein the over voltage lockout monitor circuit includes a pair of over voltage lockout resistors coupled as a voltage divider between the input line and a ground reference via an over voltage lockout Zener diode which is coupled to drive a switch controlling transistor which is in turn coupled to control the series switch.
6. The input control circuit of claim 5 wherein the over voltage lockout monitor circuit further includes a low impedance charge path formed by a speedup diode and a speedup resistor electrically coupled between the input line and the base of the transistor.
7. The input control circuit of claim 1, further comprising:
an under voltage lockout monitor circuit operable to detect an under voltage condition on the input line and coupled to supply a signal indicative of the under voltage condition to the clamp circuit, wherein the clamp circuit is further responsive at least to the under voltage lockout monitor circuit to provide control signals to the series switch to cause the series switch to stop the flow of the input current along the input line.
8. The input control circuit of claim 7 wherein the under voltage lockout monitor circuit includes an under voltage lockout comparator that has a first input and a second input, the first input coupled to the input line via a first under voltage lockout resistor and the second input coupled to a voltage reference source via a second under voltage lockout resistor.
9. The input control circuit of claim 8, further comprising:
an enable monitor circuit operable in response to an enable single to provide control signals to to cause the series switch to stop the flow of the input current along the input line.
10. The input control circuit of claim 9 wherein the enable monitor circuit is selectively operable electrically short the first and second inputs of the under voltage lockout comparator.
11. The input control circuit of claim 1 wherein the series switch Q1 is a P-Channel metal oxide semiconductor field effect transistor (MOSFET) having a gate coupled to the clamp circuit and the clamp circuit includes a switch controlling transistor coupled to control the series switch.
12. The input control circuit of claim 11, further comprising:
an over voltage lockout monitor circuit operable to detect an over voltage condition on the input line and coupled to supply a signal indicative of the over voltage condition to the clamp circuit;
an under voltage lockout monitor circuit operable to detect an under voltage condition on the input line and coupled to supply a signal indicative of the under voltage condition to the clamp circuit;
an enable monitor circuit operable in response to an enable single to provide control signals to the clamp circuit indicative of a disable state, and
wherein the clamp circuit is further responsive at least to the over voltage lockout monitor circuit, the under voltage lockout monitor circuit, and the enable monitor circuit to provide control signals to the series switch Q1 to cause the series switch to stop the flow of the input current along the input line in response to a signal indicative of the over voltage condition, the under voltage condition, or a disable state.
13. The input control circuit of claim 1 wherein the sense capacitor has a capacitance that is less than a capacitance of the input filter.
14. A method of operating an input control circuit, the method comprising:
capacitively producing a signal proportional to an input current;
mirroring the signal proportional to input current; and
adjusting a flow of the input current in response at least to the signal that is proportional to the input current to control an inrush current.
15. The method of claim 14 wherein capacitively producing a signal proportional to input current includes allowing a sense capacitor directly coupled to an input filter capacitor on an input line to be charged by the input current and adjusting a flow of the input current includes supplying a signal from a clamp circuit to a series pass device electrically coupled in series on the input line.
16. The method of claim 15, further comprising:
detecting at least one of an over voltage condition or an under voltage condition on the input line; and
in response to detecting at least one of the over voltage condition or the under voltage condition on the input line providing a signal to the clamp circuit that causes the series pass device to stop the flow of the input current.
17. The method of claim 15, further comprising:
detecting an enable signal indicative of a selected one of two states;
in response to detecting the enable single of a first one of the two states providing a signal that causes the series pass device to stop the flow of the input current; and
in response to detecting the enable single of a second one of the two states providing a signal that causes an under voltage lockout monitor circuit to function.
18. An input control circuit operable to control inrush current, comprising:
a series switch operable in response to control signals to adjust a flow of an input current along an input line;
an over voltage lockout monitor circuit operable to detect an over voltage condition on the input line and to produce a signal indicative of the over voltage condition;
an under voltage lockout monitor circuit operable to detect an under voltage condition on the input line and to produce a signal indicative of the under voltage condition;
a sense capacitor directly connected to an input filter capacitor on the input line to develop a signal that is proportional to the input current;
a current sense mirror electrically coupled to the sense capacitor to receive the signal that is proportional to the input current;
an enable monitor circuit operable in response to an enable single to provide a signal indicative of an enabledisable condition; and
a clamp circuit that provides control signals to control the series switch to adjust the flow of the input current along the input line in response to the current sense mirror, the clamp circuit is responsive to the signals from the over voltage lockout monitor circuit, the under voltage lockout monitor circuit, and the enable monitor circuit to provide control signals that cause the series switch to stop the flow of the input current along the input line.