Say I have a single-page application that uses a third party API for content. The app’s logic is in-browser only, and there is no backend I can write to.  To allow deep-linking into the state of the app, I use pushState to keep track of a few varia...
I am trying to write a basic makefile that combines multiple js files into a single one and then does the same but compresses them.  So far I have this one that can make the compressed version fine.  # Set the source directory srcdir = src/  # Create...
I've seen a bunch of similar questions to this get asked before, but I haven't found one that describes my current problem exactly, so here goes:  I have a page which loads a large (between 0.5 and 10 MB) JSON document via AJAX so that the cl...
I'm looking for a free JavaScript obfuscator. Would compression be enough? What tools would you recommend? Of course, I don't need military-style obfuscation, I need a simple way to prevent kiddies from stealing my javascript by looking at t...
I am currently on a hosted Virtual Server, I want to enable GZip compression for my Asp.Net 3.5 site, how do I go about starting?  I have tried using 'packed' JS files, but they don't work, I am assuming it's because they are not hand...
Currently I send JSON from an Ajax post to the server which is then converted to objects using the Jackson Mapper.  The format is like this   {"id":"780710","folderID":"42024","displayOrder":2},{"id":&...
I have a PNG image and got its Base64 PNG string representation. It's still quite large and i'd like to know if it can be significantly further compressed. Is that even possible?  Background  I am using Selenium 2 (Java) to create a screensho...
I hava a problem understanding and implementing a permessage-deflate extension in WebSockets.  So far, I have added 'Sec-WebSocket-Extensions: permessage-deflate' inside handshake code. It seems to work all fine.  However when I send a "T...
I'm developing HTML5 apps.  When user uploads image from their mobile, the size was too large.  I want to compress the image as PNG like the pngcrush way.  Is there any good way to choice on the frontend (like a javascript library)?  Or is it pos...
I'm using a websocket to send a Jpeg image in blob form. I've compressed (gzipped) the blob but I'm unable to find a way to decompress it using JavaScript. Does anyone know how?    This is the code I'm using to read the blob and then...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.